## 类的使用
org.springframework.beans.TypeMismatchException

- 使用TypeMismatchException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans | This package contains interfaces and classes for manipulating Java beans.

- - ### org.springframework.beans中TypeMismatchException的使用

    org.springframework.beans中TypeMismatchException的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ConversionNotSupportedException` Exception thrown when no suitable editor or converter can be found for a bean property.

    抛出TypeMismatchException的org.springframework.beans中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | BeanWrapperImpl.`convertForProperty(Object value, String propertyName)` Convert the given value for the specified property to the latter's type.
    `protected Object` | AbstractNestablePropertyAccessor.`convertForProperty(String propertyName, Object oldValue, Object newValue, org.springframework.core.convert.TypeDescriptor td)`
    `<T> T` | TypeConverter.`convertIfNecessary(Object value, Class<T> requiredType)` Convert the value to the required type (if necessary from a String).
    `<T> T` | TypeConverterSupport.`convertIfNecessary(Object value, Class<T> requiredType)`
    `<T> T` | TypeConverter.`convertIfNecessary(Object value, Class<T> requiredType, Field field)` Convert the value to the required type (if necessary from a String).
    `<T> T` | TypeConverterSupport.`convertIfNecessary(Object value, Class<T> requiredType, Field field)`
    `<T> T` | TypeConverter.`convertIfNecessary(Object value, Class<T> requiredType, org.springframework.core.MethodParameter methodParam)` Convert the value to the required type (if necessary from a String).
    `<T> T` | TypeConverterSupport.`convertIfNecessary(Object value, Class<T> requiredType, org.springframework.core.MethodParameter methodParam)`