Package org.apache.commons.lang3
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang3.SerializationException
- All Implemented Interfaces:
Serializable
Exception thrown when the Serialization process fails.
The original error is wrapped within this one.
#NotThreadSafe# because Throwable is not thread-safe
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSerializationExceptionwithout specified detail message.Constructs a newSerializationExceptionwith specified detail message.SerializationException(String msg, Throwable cause) Constructs a newSerializationExceptionwith specified detail message and nestedThrowable.SerializationException(Throwable cause) Constructs a newSerializationExceptionwith specified nestedThrowable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SerializationException
public SerializationException()Constructs a newSerializationExceptionwithout specified detail message. -
SerializationException
Constructs a newSerializationExceptionwith specified detail message.- Parameters:
msg- The error message.
-
SerializationException
Constructs a newSerializationExceptionwith specified detail message and nestedThrowable. -
SerializationException
Constructs a newSerializationExceptionwith specified nestedThrowable.
-