|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides an interface that can be implemented by classes having root cause exceptions. RootCause is typically implemented by throwable classes to report the exception into which a new exception is wrapped.
| Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the stored root cause as a throwable object. |
void |
printCauseStackTrace()
Prints this RootCause and its backtrace to the
standard error stream. |
void |
printCauseStackTrace(java.io.PrintStream s)
Prints this RootCause and its backtrace to the
specified print stream. |
void |
printCauseStackTrace(java.io.PrintWriter w)
Prints this RootCause and its backtrace to the specified
print writer. |
| Method Detail |
public java.lang.Throwable getRootCause()
public void printCauseStackTrace()
RootCause and its backtrace to the
standard error stream.
public void printCauseStackTrace(java.io.PrintStream s)
RootCause and its backtrace to the
specified print stream.
s - The PrintStream to be used for printing the stack
trace of the root exception.public void printCauseStackTrace(java.io.PrintWriter w)
RootCause and its backtrace to the specified
print writer.
w - The PrintWriter to be used for printing the stack
trace of the root exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||