|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.vinci.debug.FatalException
public class FatalException
The FatalException class is used to convert any checked exception into an unchecked exception to terminate the current thread due to unrecoverable and unexpected error conditions.
Constructor Summary | |
---|---|
FatalException(java.lang.String message)
Create an unchecked exception. |
|
FatalException(java.lang.Throwable e)
Convert an exception into an unchecked exception, after appropriately reporting the unchecked exception to the error stream. |
Method Summary | |
---|---|
java.lang.Throwable |
getOriginalException()
Return the original checked exception that was converted into an unchecked exception (if any) |
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 FatalException(java.lang.String message)
message
- A textual description of the error.public FatalException(java.lang.Throwable e)
e
- The exception to convert to an unchecked FatalException.Method Detail |
---|
public java.lang.Throwable getOriginalException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |