public class SerializationException extends IOException
| Constructor and Description |
|---|
SerializationException(String message)
Constructs a new SerializationException with the specified detailed message.
|
SerializationException(String message,
Throwable cause)
Constructs a new SerializationException with the specified detailed message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SerializationException(String message)
Throwable.initCause(java.lang.Throwable).message - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage()
method.public SerializationException(String message, Throwable cause)
cause - the cause (which is saved for later retrieval by the Throwable.getCause()method). (Anull value
is permitted, and indicates that the cause is nonexistent or unknown.)message - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage()
method.Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.