org.springframework.core.serializer.support

## 类 SerializationFailedException

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

- 所有已实现的接口:
    Serializable

      public class SerializationFailedException
      extends NestedRuntimeException

  Wrapper for the native IOException (or similar) when a `Serializer` or `Deserializer` failed. Thrown by `SerializingConverter` and `DeserializingConverter`.
  从以下版本开始:
    3.0.5
  作者:
    Gary Russell, Juergen Hoeller
  另请参阅:
    序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `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.

  - ### 方法概要

    - ### 从类继承的方法 org.springframework.core.NestedRuntimeException

      `contains, getMessage, getMostSpecificCause, getRootCause`

    - ### 从类继承的方法 java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### SerializationFailedException

          public SerializationFailedException(String message)

      Construct a `SerializationException` with the specified detail message.
      参数:
        `message` - the detail message

    - #### SerializationFailedException

          public SerializationFailedException(String message,
                                              Throwable cause)

      Construct a `SerializationException` with the specified detail message and nested exception.
      参数:
        `message` - the detail message
        `cause` - the nested exception