Class MethodArgumentConversionNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
org.springframework.beans.TypeMismatchException
org.springframework.beans.ConversionNotSupportedException
org.springframework.web.method.annotation.MethodArgumentConversionNotSupportedException
- All Implemented Interfaces:
Serializable
A ConversionNotSupportedException raised while resolving a method argument.
Provides access to the target
MethodParameter
.- Since:
- 4.2
- Author:
- Rossen Stoyanchev
- See Also:
-
Field Summary
Fields inherited from class org.springframework.beans.TypeMismatchException
ERROR_CODE
-
Constructor Summary
ConstructorDescriptionMethodArgumentConversionNotSupportedException
(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Return the name of the method argument.Return the target method parameter.Methods inherited from class org.springframework.beans.TypeMismatchException
getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyName
Methods inherited from class org.springframework.beans.PropertyAccessException
getPropertyChangeEvent
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MethodArgumentConversionNotSupportedException
-
-
Method Details
-
getName
Return the name of the method argument. -
getParameter
Return the target method parameter.
-