Uses of Class
org.springframework.beans.TypeMismatchException
Packages that use TypeMismatchException Package Description org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.method.annotation Support classes for annotation-based handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.Uses of TypeMismatchException in org.springframework.beans
Subclasses of TypeMismatchException in org.springframework.beans Modifier and Type Class Description class
ConversionNotSupportedException
Exception thrown when no suitable editor or converter can be found for a bean property.Methods in org.springframework.beans that throw TypeMismatchException Modifier and Type Method Description protected Object
AbstractNestablePropertyAccessor. convertForProperty(String propertyName, Object oldValue, Object newValue, TypeDescriptor td)
Object
BeanWrapperImpl. convertForProperty(Object value, String propertyName)
Convert the given value for the specified property to the latter's type.<T> T
TypeConverter. convertIfNecessary(Object value, Class<T> requiredType)
Convert the value to the required type (if necessary from a String).<T> T
TypeConverter. convertIfNecessary(Object value, Class<T> requiredType, Field field)
Convert the value to the required type (if necessary from a String).default <T> T
TypeConverter. convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor)
Convert the value to the required type (if necessary from a String).<T> T
TypeConverter. convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam)
Convert the value to the required type (if necessary from a String).<T> T
TypeConverterSupport. convertIfNecessary(Object value, Class<T> requiredType)
<T> T
TypeConverterSupport. convertIfNecessary(Object value, Class<T> requiredType, Field field)
<T> T
TypeConverterSupport. convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor)
<T> T
TypeConverterSupport. convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam)
Uses of TypeMismatchException in org.springframework.validation
Methods in org.springframework.validation that throw TypeMismatchException Modifier and Type Method Description <T> T
DataBinder. convertIfNecessary(Object value, Class<T> requiredType)
<T> T
DataBinder. convertIfNecessary(Object value, Class<T> requiredType, Field field)
<T> T
DataBinder. convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor)
<T> T
DataBinder. convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam)
Uses of TypeMismatchException in org.springframework.web.method.annotation
Subclasses of TypeMismatchException in org.springframework.web.method.annotation Modifier and Type Class Description class
MethodArgumentConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument.class
MethodArgumentTypeMismatchException
A TypeMismatchException raised while resolving a controller method argument.Uses of TypeMismatchException in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type TypeMismatchException Modifier and Type Method Description protected ResponseEntity<Object>
ResponseEntityExceptionHandler. handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
Customize the response for TypeMismatchException.Uses of TypeMismatchException in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type TypeMismatchException Modifier and Type Method Description protected ModelAndView
DefaultHandlerExceptionResolver. handleTypeMismatch(TypeMismatchException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Handle the case when aWebDataBinder
conversion error occurs.