|
|||||||||||
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 net.sf.xframe.ex.CascadingException
Class from which all xframe exceptions should inherit. Allows recording of nested exceptions.
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
CascadingException(java.lang.String message)
Construct a new CascadingException instance. |
|
CascadingException(java.lang.String message,
java.lang.Throwable throwable)
Construct a new CascadingException instance. |
|
CascadingException(java.lang.Throwable throwable)
Construct a new CascadingException instance. |
Method Summary | |
java.lang.Throwable |
getCause()
Retrieve root cause of the exception. |
void |
printStackTrace()
Prints this Throwable and its backtrace to the
standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the
specified print stream. |
void |
printStackTrace(java.io.PrintWriter w)
Prints this Throwable and its backtrace to the specified
print writer. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 CascadingException(java.lang.String message)
CascadingException
instance.
message
- The detail message for this exception.public CascadingException(java.lang.String message, java.lang.Throwable throwable)
CascadingException
instance.
message
- The detail message for this exception.throwable
- the root cause of the exceptionpublic CascadingException(java.lang.Throwable throwable)
CascadingException
instance.
throwable
- the root cause of the exceptionMethod Detail |
public final java.lang.Throwable getCause()
public final void printStackTrace()
Throwable
and its backtrace to the
standard error stream.
Throwable.printStackTrace()
public final void printStackTrace(java.io.PrintStream s)
Throwable
and its backtrace to the
specified print stream.
s
- PrintStream
to use for outputThrowable.printStackTrace(java.io.PrintStream)
public final void printStackTrace(java.io.PrintWriter w)
Throwable
and its backtrace to the specified
print writer.
w
- PrintWriter
to use for outputThrowable.printStackTrace(java.io.PrintWriter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |