|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-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. |
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()
public Session getSession()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream outStream)
public void printStackTrace(java.io.PrintWriter writer)
public static void setShouldPrintInternalException(boolean printException)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |