Serializable
public final class SerializationException extends RuntimeException
IOException
that may be thrown due to an inaccessible output stream.Constructor | Description |
---|---|
SerializationException() |
Creates and initializes a new serialization exception with no error message and cause.
|
SerializationException(String message) |
Creates and initializes a new serialization exception with the given error message and no cause.
|
SerializationException(String message,
Throwable cause) |
Creates and initializes a new serialization exception with the given error message and cause.
|
SerializationException(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 ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SerializationException()
public SerializationException(String message)
message
- the error message of the new serialization exception (may be null
).public SerializationException(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(String message, Throwable cause)
message
- the error message of the new serialization exception.cause
- the cause of the new serialization exception.Copyright © 2009–2018 Jonathan Hedley. All rights reserved.