public class

SerializationFailedException

extends NestedRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.core.serializer.support.SerializationFailedException

Class Overview

Wrapper for the native IOException (or similar) when a Serializer or Deserializer failed. Thrown by SerializingConverter and DeserializingConverter.

Summary

Public Constructors
SerializationFailedException(String message)
Construct a SerializationException with the specified detail message.
SerializationFailedException(String message, Throwable cause)
Construct a SerializationException with the specified detail message and nested exception.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SerializationFailedException (String message)

Also: SpringCore

Construct a SerializationException with the specified detail message.

Parameters
message the detail message

public SerializationFailedException (String message, Throwable cause)

Also: SpringCore

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

Parameters
message the detail message
cause the nested exception