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 TypeClassDescriptionclassException thrown when no suitable editor or converter can be found for a bean property.Methods in org.springframework.beans that throw TypeMismatchExceptionModifier and TypeMethodDescriptionAbstractNestablePropertyAccessor.convertForProperty(String propertyName, @Nullable Object oldValue, @Nullable Object newValue, TypeDescriptor td) BeanWrapperImpl.convertForProperty(@Nullable Object value, String propertyName) Convert the given value for the specified property to the latter's type.<T> @Nullable TTypeConverter.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> @Nullable TTypeConverter.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable Field field) Convert the value to the required type (if necessary from a String).<T> @Nullable TTypeConverter.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable MethodParameter methodParam) Convert the value to the required type (if necessary from a String).default <T> @Nullable TTypeConverter.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> @Nullable TTypeConverterSupport.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType) <T> @Nullable TTypeConverterSupport.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable Field field) <T> @Nullable TTypeConverterSupport.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable MethodParameter methodParam) <T> @Nullable TTypeConverterSupport.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable TypeDescriptor typeDescriptor) -
Uses of TypeMismatchException in org.springframework.validation
Methods in org.springframework.validation that throw TypeMismatchExceptionModifier and TypeMethodDescription<T> @Nullable TDataBinder.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType) <T> @Nullable TDataBinder.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable Field field) <T> @Nullable TDataBinder.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable MethodParameter methodParam) <T> @Nullable TDataBinder.convertIfNecessary(@Nullable Object value, @Nullable Class<T> requiredType, @Nullable TypeDescriptor typeDescriptor) -
Uses of TypeMismatchException in org.springframework.web.method.annotation
Subclasses of TypeMismatchException in org.springframework.web.method.annotationModifier and TypeClassDescriptionclassA ConversionNotSupportedException raised while resolving a method argument.classA 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 @Nullable 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 ModelAndViewDefaultHandlerExceptionResolver.handleTypeMismatch(TypeMismatchException ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Object handler) Handle the case when aWebDataBinderconversion error occurs.