|
header | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.xframe.ex.CascadingException
public class CascadingException
Class from which all xframe exceptions should inherit. Allows recording of nested exceptions.
| 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 exception| Method Detail |
|---|
public final java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic final void printStackTrace()
Throwable and its backtrace to the
standard error stream.
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace()public final void printStackTrace(java.io.PrintStream s)
Throwable and its backtrace to the
specified print stream.
printStackTrace in class java.lang.Throwables - 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.
printStackTrace in class java.lang.Throwablew - PrintWriter to use for outputThrowable.printStackTrace(java.io.PrintWriter)
|
header | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||