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
public class SerializationException extends NestableRuntimeException
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate
-
-
Constructor Summary
Constructors Constructor Description SerializationException()
Constructs a newSerializationException
without specified detail message.SerializationException(String msg)
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 org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SerializationException
public SerializationException()
Constructs a new
SerializationException
without specified detail message.
-
SerializationException
public SerializationException(String msg)
Constructs a new
SerializationException
with specified detail message.- Parameters:
msg
- The error message.
-
SerializationException
public SerializationException(Throwable cause)
Constructs a new
SerializationException
with specified nestedThrowable
.- Parameters:
cause
- TheException
orError
that caused this exception to be thrown.
-
-