Uses of Class
org.springframework.beans.TypeMismatchException
Packages that use TypeMismatchException
Package
Description
This package contains interfaces and classes for manipulating Java beans.
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for annotation-based handler method processing.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
-
Uses of TypeMismatchException in org.springframework.beans
Subclasses of TypeMismatchException in org.springframework.beansModifier and TypeClassDescriptionclass
Exception thrown when no suitable editor or converter can be found for a bean property.Methods in org.springframework.beans that throw TypeMismatchExceptionModifier and TypeMethodDescriptionprotected Object
AbstractNestablePropertyAccessor.convertForProperty
(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) 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 TypeMismatchExceptionModifier and TypeMethodDescription<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.annotationModifier and TypeClassDescriptionclass
A ConversionNotSupportedException raised while resolving a method argument.class
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 TypeMismatchExceptionModifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleTypeMismatch
(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofTypeMismatchException
. -
Uses of TypeMismatchException in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type TypeMismatchExceptionModifier and TypeMethodDescriptionprotected ModelAndView
DefaultHandlerExceptionResolver.handleTypeMismatch
(TypeMismatchException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when aWebDataBinder
conversion error occurs.