public class UnexpectedThrowable extends NestedError
NestedThrowable.Util| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The serialVersionUID
|
nestedDETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED| Constructor and Description |
|---|
UnexpectedThrowable()
Construct a UnexpectedThrowable with no detail.
|
UnexpectedThrowable(java.lang.String msg)
Construct a UnexpectedThrowable with the specified
detail message.
|
UnexpectedThrowable(java.lang.String msg,
java.lang.Throwable nested)
Construct a UnexpectedThrowable with the specified
detail message and nested Throwable.
|
UnexpectedThrowable(java.lang.Throwable nested)
Construct a UnexpectedThrowable with the specified
nested Throwable.
|
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTraceprivate static final long serialVersionUID
public UnexpectedThrowable(java.lang.String msg)
msg - Detail message.public UnexpectedThrowable(java.lang.String msg,
java.lang.Throwable nested)
msg - Detail message.nested - Nested Throwable.public UnexpectedThrowable(java.lang.Throwable nested)
nested - Nested Throwable.public UnexpectedThrowable()