public class StackableRuntimeException extends RuntimeException
Constructor and Description |
---|
StackableRuntimeException()
Deprecated.
Creates a StackableRuntimeException with no message and no parent.
|
StackableRuntimeException(String message)
Deprecated.
Creates an exception.
|
StackableRuntimeException(String message,
Exception ex)
Deprecated.
Creates an exception.
|
StackableRuntimeException(String message,
Throwable ex)
Deprecated.
Creates an exception.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getParent()
Deprecated.
use the throwable instead.
|
Throwable |
getParentThrowable()
Deprecated.
|
void |
printStackTrace()
Deprecated.
Prints the stack trace to System.err.
|
void |
printStackTrace(PrintStream stream)
Deprecated.
Prints the stack trace to the specified stream.
|
void |
printStackTrace(PrintWriter writer)
Deprecated.
Prints the stack trace to the specified writer.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public StackableRuntimeException()
public StackableRuntimeException(String message, Throwable ex)
message
- the exception message.ex
- the parent exception.public StackableRuntimeException(String message, Exception ex)
message
- the exception message.ex
- the parent exception.public StackableRuntimeException(String message)
message
- the exception message.public Exception getParent()
public Throwable getParentThrowable()
public void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- the output stream.public void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- the writer.public void printStackTrace()
printStackTrace
in class Throwable