Package org.apache.commons.lang
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang.exception.NestableRuntimeException
org.apache.commons.lang.SerializationException
- All Implemented Interfaces:
Serializable,Nestable
Exception thrown when the Serialization process fails.
The original error is wrapped within this one.
- Since:
- 1.0
- Version:
- $Id: SerializationException.java 905636 2010-02-02 14:03:32Z niallp $
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate -
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 org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
SerializationException
public SerializationException()Constructs a new
SerializationExceptionwithout specified detail message. -
SerializationException
Constructs a new
SerializationExceptionwith specified detail message.- Parameters:
msg- The error message.
-
SerializationException
Constructs a new
SerializationExceptionwith specified nestedThrowable.- Parameters:
cause- TheExceptionorErrorthat caused this exception to be thrown.
-
SerializationException
Constructs a new
SerializationExceptionwith specified detail message and nestedThrowable.- Parameters:
msg- The error message.cause- TheExceptionorErrorthat caused this exception to be thrown.
-