org.springframework.core.serializer.support
Class SerializationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.core.serializer.support.SerializationFailedException
- All Implemented Interfaces:
- Serializable
public class SerializationFailedException
- extends NestedRuntimeException
Wrapper for the native IOException (or similar) when a
Serializer
or
Deserializer
failed.
Thrown by SerializingConverter
and DeserializingConverter
.
- Since:
- 3.0.5
- Author:
- Gary Russell, Juergen Hoeller
- See Also:
- Serialized Form
SerializationFailedException
public SerializationFailedException(String message)
- Construct a
SerializationException
with the specified detail message.
- Parameters:
message
- the detail message
SerializationFailedException
public SerializationFailedException(String message,
Throwable cause)
- Construct a
SerializationException
with the specified detail message
and nested exception.
- Parameters:
message
- the detail messagecause
- the nested exception