StackSuppressedRuntimeException
@Deprecated public class SuppressedStackRuntimeException extends StackSuppressedRuntimeException
RuntimeException
which does not generate a stack at it's point of creation.
Generating a stack trace in java is very expensive, and does not always further the understanding
of the type of error (particularly when the exception is wrapping another exception, or is a
communication of state). In those select conditions using or extending this type of exception
can provide a significant performance gain.Constructor and Description |
---|
SuppressedStackRuntimeException()
Deprecated.
Construct a new exception with no message or cause.
|
SuppressedStackRuntimeException(java.lang.String msg)
Deprecated.
Construct a new exception with a provided message and no cause.
|
SuppressedStackRuntimeException(java.lang.String msg,
java.lang.Throwable cause)
Deprecated.
Construct a new exception providing both a unique message and cause.
|
SuppressedStackRuntimeException(java.lang.Throwable cause)
Deprecated.
Construct a new exception with a provided cause.
|
fillInStackTrace
public SuppressedStackRuntimeException()
Throwable.initCause(java.lang.Throwable)
.public SuppressedStackRuntimeException(java.lang.String msg)
msg
- The message which can later be retrieved by Throwable.getMessage()
public SuppressedStackRuntimeException(java.lang.Throwable cause)
cause
- The cause which contributed to this exceptionpublic SuppressedStackRuntimeException(java.lang.String msg, java.lang.Throwable cause)
msg
- The message which can later be retrieved by Throwable.getMessage()
cause
- The cause which contributed to this exception