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
ConstructorDescriptionConstructs a newSerializationException
without specified detail message.Constructs a newSerializationException
with specified detail message.SerializationException
(String msg, Throwable cause) Constructs a newSerializationException
with specified detail message and nestedThrowable
.SerializationException
(Throwable cause) Constructs a newSerializationException
with 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 newSerializationException
without specified detail message. -
SerializationException
Constructs a newSerializationException
with specified detail message.- Parameters:
msg
- The error message.
-
SerializationException
Constructs a newSerializationException
with specified detail message and nestedThrowable
. -
SerializationException
Constructs a newSerializationException
with specified nestedThrowable
.
-