public final class SerializationException
extends java.lang.RuntimeException
IOException that may be thrown due to an inaccessible output stream.| Constructor and Description |
|---|
SerializationException()
Creates and initializes a new serialization exception with no error message and cause.
|
SerializationException(java.lang.String message)
Creates and initializes a new serialization exception with the given error message and no cause.
|
SerializationException(java.lang.String message,
java.lang.Throwable cause)
Creates and initializes a new serialization exception with the given error message and cause.
|
SerializationException(java.lang.Throwable cause)
Creates and initializes a new serialization exception with the specified cause and an error message of
(cause==null ? null : cause.toString()) (which typically contains the class and error message of
cause). |
public SerializationException()
public SerializationException(java.lang.String message)
message - the error message of the new serialization exception (may be null).public SerializationException(java.lang.Throwable cause)
(cause==null ? null : cause.toString()) (which typically contains the class and error message of
cause).cause - the cause of the new serialization exception (may be null).public SerializationException(java.lang.String message,
java.lang.Throwable cause)
message - the error message of the new serialization exception.cause - the cause of the new serialization exception.