public class SerializationException
extends java.lang.RuntimeException
Exception thrown when the Serialization process fails.
The original error is wrapped within this one.
#NotThreadSafe# because Throwable is not thread-safe
| Constructor and Description |
|---|
SerializationException()
Constructs a new
SerializationException without specified
detail message. |
SerializationException(java.lang.String msg)
Constructs a new
SerializationException with specified
detail message. |
SerializationException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new
SerializationException with specified
detail message and nested Throwable. |
SerializationException(java.lang.Throwable cause)
Constructs a new
SerializationException with specified
nested Throwable. |
public SerializationException()
Constructs a new SerializationException without specified
detail message.
public SerializationException(java.lang.String msg)
Constructs a new SerializationException with specified
detail message.
msg - The error message.public SerializationException(java.lang.Throwable cause)
Constructs a new SerializationException with specified
nested Throwable.
cause - The Exception or Error
that caused this exception to be thrown.public SerializationException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new SerializationException with specified
detail message and nested Throwable.
msg - The error message.cause - The Exception or Error
that caused this exception to be thrown.