public class SerializationException extends 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  SerializationExceptionwithout specified
 detail message. | 
| SerializationException(String msg)Constructs a new  SerializationExceptionwith specified
 detail message. | 
| SerializationException(String msg,
                      Throwable cause)Constructs a new  SerializationExceptionwith specified
 detail message and nestedThrowable. | 
| SerializationException(Throwable cause)Constructs a new  SerializationExceptionwith specified
 nestedThrowable. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SerializationException()
Constructs a new SerializationException without specified
 detail message.
public SerializationException(String msg)
Constructs a new SerializationException with specified
 detail message.
msg - The error message.public SerializationException(Throwable cause)
Constructs a new SerializationException with specified
 nested Throwable.
cause - The Exception or Error
  that caused this exception to be thrown.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.