Top Description Fields Constructors
org.apache.commons.lang3

public Class SerializationException

extends RuntimeException
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Required for serialization support.

Constructor Summary

AccessConstructor and Description
public
SerializationException()

Constructs a new SerializationException without specified detail message.

public
SerializationException(final String
The error message.
msg
)

Constructs a new SerializationException with specified detail message.

public
SerializationException(final String
The error message.
msg
,
final Throwable
The Exception or Error that caused this exception to be thrown.
cause
)

Constructs a new SerializationException with specified detail message and nested Throwable.

public
SerializationException(final Throwable
The Exception or Error that caused this exception to be thrown.
cause
)

Constructs a new SerializationException with specified nested Throwable.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Required for serialization support.

See Also
java.io.Serializable

Constructor Detail

SerializationExceptionback to summary
public SerializationException()

Constructs a new SerializationException without specified detail message.

SerializationExceptionback to summary
public SerializationException(final String msg)

Constructs a new SerializationException with specified detail message.

Parameters
msg:String

The error message.

SerializationExceptionback to summary
public SerializationException(final String msg, final Throwable cause)

Constructs a new SerializationException with specified detail message and nested Throwable.

Parameters
msg:String

The error message.

cause:Throwable

The Exception or Error that caused this exception to be thrown.

SerializationExceptionback to summary
public SerializationException(final Throwable cause)

Constructs a new SerializationException with specified nested Throwable.

Parameters
cause:Throwable

The Exception or Error that caused this exception to be thrown.