|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
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 | +--java.lang.RuntimeException | +--oracle.toplink.exceptions.TopLinkException
Purpose: Any exception raised by TopLink should be a subclass of this exception class.
Method Summary | |
int |
getErrorCode() PUBLIC: Return the exception error code. |
java.lang.Throwable |
getInternalException() PUBLIC: Return the internal native exception. |
java.lang.String |
getMessage() PUBLIC: Return the exception error message. |
oracle.toplink.publicinterface.Session |
getSession() PUBLIC: Return the session |
void |
printStackTrace() PUBLIC: Print both the normal and internal stack traces. |
void |
printStackTrace(java.io.PrintStream outStream) PUBLIC: Print both the normal and internal stack traces. |
void |
printStackTrace(java.io.PrintWriter writer) PUBLIC: Print both the normal and internal stack traces. |
static void |
setShouldPrintInternalException(boolean printException) PUBLIC: Allows overiding of TopLink's exception chaining detection. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getErrorCode()
public java.lang.Throwable getInternalException()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public oracle.toplink.publicinterface.Session getSession()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream outStream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
public static void setShouldPrintInternalException(boolean printException)
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |