org.jfree.util
public class StackableRuntimeException extends RuntimeException
The parents are printed when this exception is printed. This class exists mainly for debugging reasons, as with them it is easier to detect the root cause of an error.
Constructor Summary | |
---|---|
StackableRuntimeException()
Creates a StackableRuntimeException with no message and no parent. | |
StackableRuntimeException(String message, Exception ex)
Creates an exception.
| |
StackableRuntimeException(String message)
Creates an exception.
|
Method Summary | |
---|---|
Exception | getParent()
Returns the parent exception (possibly null).
|
void | printStackTrace(PrintStream stream)
Prints the stack trace to the specified stream.
|
void | printStackTrace(PrintWriter writer)
Prints the stack trace to the specified writer.
|
Parameters: message the exception message. ex the parent exception.
Parameters: message the exception message.
Returns: the parent exception.
Parameters: stream the output stream.
Parameters: writer the writer.