|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for Throwables that can contain other Throwables.
When you implement this interface, override printStackTrace to print the stack trace of both this Throwable and the contained Throwable.
Method Summary | |
java.lang.Throwable |
getNestedThrowable()
Returns the nested Throwable, or null if there doesn't happent to be one. |
boolean |
hasNestedThrowable()
|
void |
printLimitedStackTrace(java.io.PrintStream ps)
Print the stack trace of just this Throwable. |
void |
printLimitedStackTrace(java.io.PrintWriter pw)
Print the stack trace of just this Throwable. |
Method Detail |
public java.lang.Throwable getNestedThrowable()
public boolean hasNestedThrowable()
public void printLimitedStackTrace(java.io.PrintStream ps)
public void printLimitedStackTrace(java.io.PrintWriter pw)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |