|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
tyrex.util.WrappedException
public class WrappedException
Reports an exception with an underlying exception.
Constructor Summary | |
---|---|
WrappedException()
Constructs a new exception. |
|
WrappedException(java.lang.String message)
Constructs a new exception with the specified message. |
|
WrappedException(java.lang.String message,
java.lang.Throwable except)
Constructs a new exception with the specified message and trigger exception. |
|
WrappedException(java.lang.Throwable except)
Constructs a new exception with the specified trigger exception. |
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Return the exception that triggered this exception. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream print)
|
void |
printStackTrace(java.io.PrintWriter print)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WrappedException()
public WrappedException(java.lang.String message)
message
- The exception messagepublic WrappedException(java.lang.String message, java.lang.Throwable except)
message
- The exception messageexcept
- The exception that triggered this exceptionpublic WrappedException(java.lang.Throwable except)
except
- The exception that triggered this exceptionMethod Detail |
---|
public final java.lang.Throwable getException()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream print)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter print)
printStackTrace
in class java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |