public interface CascadingThrowable
Throwable extensions
which would like to be able to cascade root exceptions inside themselves.| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Returns the reference to the exception or error that caused the exception.
|
void |
printPartialStackTrace(PrintWriter out)
Prints the stack trace for this exception only--root cause not
included--using the provided writer.
|
Throwable getCause()
void printPartialStackTrace(PrintWriter out)
ExceptionUtil to write
individual stack traces to a buffer. The implementation of this method
should call super.printStackTrace(out); in most cases.out - The writer to use.Copyright © 2005–2020. All rights reserved.