|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.scrashmeow.ojb.console.OjbcException
Base class for all exceptions thrown within the application that would normally derive from Exception. The constructors within this class log the stack trace so by constructing an instance of this exception, logging automatically occurs.
Constructor Summary | |
OjbcException()
Constructor for OjbcException. |
|
OjbcException(java.lang.String msg)
Constructor to create an exception with a message. |
|
OjbcException(java.lang.String msg,
java.lang.Throwable nested)
Constructor to create an exception with a message and a nested exception. |
|
OjbcException(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.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OjbcException()
public OjbcException(java.lang.String msg)
msg
- the error messagepublic OjbcException(java.lang.String msg, java.lang.Throwable nested)
msg
- the error messagenested
- he nested exceptionpublic OjbcException(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 |