Top Description Constructors Methods
org.springframework.core.serializer.support

public Class SerializationFailedException

extends NestedRuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException

Wrapper for the native IOException (or similar) when a org.springframework.core.serializer.Serializer or org.springframework.core.serializer.Deserializer failed. Thrown by SerializingConverter and DeserializingConverter.
Authors
Gary Russell, Juergen Hoeller
Since
3.0.5

Constructor Summary

AccessConstructor and Description
public
SerializationFailedException(String
the detail message
message
)

Construct a SerializationException with the specified detail message.

public
SerializationFailedException(String
the detail message
message
,
Throwable
the nested exception
cause
)

Construct a SerializationException with the specified detail message and nested exception.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

SerializationFailedExceptionback to summary
public SerializationFailedException(String message)

Construct a SerializationException with the specified detail message.

Parameters
message:String

the detail message

SerializationFailedExceptionback to summary
public SerializationFailedException(String message, Throwable cause)

Construct a SerializationException with the specified detail message and nested exception.

Parameters
message:String

the detail message

cause:Throwable

the nested exception