|
||||||||||
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.tmapi.core.TMAPIException
The base class for all standard (non run-time) exceptions thrown by a TMAPI system.
This class implements the JDK 1.4 method getCause() which allows TMAPI exceptions to be integrated into the JDK 1.4 exception chaining mechanism while retaining compatibility with JDK versions prior to 1.4.
Constructor Summary | |
TMAPIException(java.lang.String msg)
Constructs a new throwable with the specified detail message. |
|
TMAPIException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
TMAPIException(java.lang.Throwable cause)
Constructs a new exception that wraps another exception. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause of this exception or null if the cause is nonexistent or unknown. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 TMAPIException(java.lang.String msg)
msg
- the detail message. This message is saved for later retrieval by the Throwable.getMessage()
method.public TMAPIException(java.lang.Throwable cause)
cause
- the throwable which caused this exception to be thrown.
This value is saved for later retrieval by the getCause()
method.public TMAPIException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail message. This message is saved for later retrieval
by the Throwable.getMessage()
methodcause
- the throwable which caused this exception to be thrown.
This value is saved for later retrieval by the getCause()
method.Method Detail |
public java.lang.Throwable getCause()
null
if the cause is nonexistent or unknown.
(The cause is the throwable that caused this exception to get thrown.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |