public class StackableRuntimeException
extends java.lang.RuntimeException
Constructor | Description |
---|---|
StackableRuntimeException() |
Creates a StackableRuntimeException with no message and no parent.
|
StackableRuntimeException(java.lang.String message) |
Creates an exception.
|
StackableRuntimeException(java.lang.String message,
java.lang.Exception ex) |
Creates an exception.
|
StackableRuntimeException(java.lang.String message,
java.lang.Throwable ex) |
Creates an exception.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Exception |
getParent() |
Deprecated.
use the throwable instead.
|
java.lang.Throwable |
getParentThrowable() |
|
void |
printStackTrace() |
Prints the stack trace to System.err.
|
void |
printStackTrace(java.io.PrintStream stream) |
Prints the stack trace to the specified stream.
|
void |
printStackTrace(java.io.PrintWriter writer) |
Prints the stack trace to the specified writer.
|
public StackableRuntimeException()
public StackableRuntimeException(java.lang.String message, java.lang.Throwable ex)
message
- the exception message.ex
- the parent exception.public StackableRuntimeException(java.lang.String message, java.lang.Exception ex)
message
- the exception message.ex
- the parent exception.public StackableRuntimeException(java.lang.String message)
message
- the exception message.public java.lang.Exception getParent()
public java.lang.Throwable getParentThrowable()
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
stream
- the output stream.public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
writer
- the writer.public void printStackTrace()
printStackTrace
in class java.lang.Throwable