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:
 java.io.Serializable,Nestable
@Deprecated(since="2021-04-30") public class SerializationException extends NestableRuntimeException
Deprecated.Commons Lang 2 is in maintenance mode. Commons Lang 3 should be used instead.Exception thrown when the Serialization process fails.
The original error is wrapped within this one.
- Since:
 - 1.0
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SerializationException()Deprecated.Constructs a newSerializationExceptionwithout specified detail message.SerializationException(java.lang.String msg)Deprecated.Constructs a newSerializationExceptionwith specified detail message.SerializationException(java.lang.String msg, java.lang.Throwable cause)Deprecated.Constructs a newSerializationExceptionwith specified detail message and nestedThrowable.SerializationException(java.lang.Throwable cause)Deprecated.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, printStackTrace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SerializationException
public SerializationException()
Deprecated.Constructs a new
SerializationExceptionwithout specified detail message. 
- 
SerializationException
public SerializationException(java.lang.String msg)
Deprecated.Constructs a new
SerializationExceptionwith specified detail message.- Parameters:
 msg- The error message.
 
- 
SerializationException
public SerializationException(java.lang.Throwable cause)
Deprecated.Constructs a new
SerializationExceptionwith specified nestedThrowable.- Parameters:
 cause- TheExceptionorErrorthat caused this exception to be thrown.
 
- 
SerializationException
public SerializationException(java.lang.String msg, java.lang.Throwable cause)Deprecated.Constructs a new
SerializationExceptionwith specified detail message and nestedThrowable.- Parameters:
 msg- The error message.cause- TheExceptionorErrorthat caused this exception to be thrown.
 
 - 
 
 -