Uses of Class
org.springframework.beans.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
Modifier and TypeClassDescriptionclass
Exception thrown when no suitable editor or converter can be found for a bean property.Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected ModelAndView
DefaultHandlerExceptionResolver.handleTypeMismatch
(TypeMismatchException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when aWebDataBinder
conversion error occurs.