public final class NotSerializableException extends ProcessException
If a exception or a nested exception cannot be serialized, this exception is
replaced with a NotSerializableException
with the message text
of the original exception. You can get the stack of the original exception
with the help of getOriginalStack()
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
NotSerializableException(java.lang.String message,
java.lang.String stack,
java.lang.Exception exception)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOriginalStack() |
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
public NotSerializableException(java.lang.String message, java.lang.String stack, java.lang.Exception exception)
message
- The message of the original exception.stack
- The stack trace of the original exception.exception
- The exception thrown during the serialization of the original exception.