public class SnapshotException extends Exception
Constructor and Description |
---|
SnapshotException()
Create snapshot exception - should not be used except during
deserialization.
|
SnapshotException(String message)
Create snapshot exception with message only.
|
SnapshotException(String message,
Throwable cause)
Create snapshot exception with message and root cause.
|
SnapshotException(Throwable cause)
Create snapshot exception with root cause only.
|
Modifier and Type | Method and Description |
---|---|
static SnapshotException |
rethrow(Throwable e)
Wrap, if necessary, and return a SnapshotException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SnapshotException()
public SnapshotException(String message, Throwable cause)
message
- the message for the exceptioncause
- the original exceptionpublic SnapshotException(String message)
message
- the message for the exceptionpublic SnapshotException(Throwable cause)
cause
- the original exceptionpublic static final SnapshotException rethrow(Throwable e)
e
- the original exception