org.springframework.beans

## 类 ConversionNotSupportedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.springframework.core.NestedRuntimeException
        - - org.springframework.beans.BeansException
          - - org.springframework.beans.PropertyAccessException
            - - org.springframework.beans.TypeMismatchException
              - - org.springframework.beans.ConversionNotSupportedException

- 所有已实现的接口:
    Serializable

      public class ConversionNotSupportedException
      extends TypeMismatchException

  Exception thrown when no suitable editor or converter can be found for a bean property.
  从以下版本开始:
    3.0
  作者:
    Arjen Poutsma, Juergen Hoeller
  另请参阅:
    序列化表格

- - ### 字段概要

    - ### 从类继承的字段 org.springframework.beans.TypeMismatchException

      `ERROR_CODE`

  - ### 构造器概要

    构造器
    构造器和说明
    `ConversionNotSupportedException(Object value, Class<?> requiredType, Throwable cause)` Create a new ConversionNotSupportedException.
    `ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause)` Create a new ConversionNotSupportedException.

  - ### 方法概要

    - ### 从类继承的方法 org.springframework.beans.TypeMismatchException

      `getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyName`

    - ### 从类继承的方法 org.springframework.beans.PropertyAccessException

      `getPropertyChangeEvent`

    - ### 从类继承的方法 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`

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

    - #### ConversionNotSupportedException

          public ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent,
                                                 @Nullable
                                                 Class<?> requiredType,
                                                 @Nullable
                                                 Throwable cause)

      Create a new ConversionNotSupportedException.
      参数:
        `propertyChangeEvent` - the PropertyChangeEvent that resulted in the problem
        `requiredType` - the required target type (or `null` if not known)
        `cause` - the root cause (may be `null`)

    - #### ConversionNotSupportedException

          public ConversionNotSupportedException(@Nullable
                                                 Object value,
                                                 @Nullable
                                                 Class<?> requiredType,
                                                 @Nullable
                                                 Throwable cause)

      Create a new ConversionNotSupportedException.
      参数:
        `value` - the offending value that couldn't be converted (may be `null`)
        `requiredType` - the required target type (or `null` if not known)
        `cause` - the root cause (may be `null`)