|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ServletException | +--org.scrashmeow.ojb.console.OjbcServletException
Base class for all servlet exceptions thrown within the console application The constructors within this class log the stack trace so by constructing an instance of this exception, logging automatically occurs.
Constructor Summary | |
OjbcServletException()
Constructor for BaseException. |
|
OjbcServletException(java.lang.String msg)
Constructor to create an exception with a message. |
|
OjbcServletException(java.lang.String msg,
java.lang.Throwable nested)
Constructor to create an exception with a message and a nested exception. |
|
OjbcServletException(java.lang.Throwable nested)
Constructor to create an exception with a nested exception. |
Method Summary | |
static java.lang.String |
getStackTraceAsString(java.lang.Throwable ex)
Return the stack trace of the current exception as a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OjbcServletException()
public OjbcServletException(java.lang.String msg)
msg
- the error messagepublic OjbcServletException(java.lang.String msg, java.lang.Throwable nested)
msg
- the error messagenested
- the nested exceptionpublic OjbcServletException(java.lang.Throwable nested)
nested
- the nested exceptionMethod Detail |
public static java.lang.String getStackTraceAsString(java.lang.Throwable ex)
ex
- the exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |