public class MethodArgumentTypeMismatchException extends TypeMismatchException
MethodParameter
.ERROR_CODE
Constructor and Description |
---|
MethodArgumentTypeMismatchException(java.lang.Object value,
java.lang.Class<?> requiredType,
java.lang.String name,
MethodParameter param,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the name of the method argument.
|
MethodParameter |
getParameter()
Return the target method parameter.
|
getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyName
getPropertyChangeEvent
contains, getMessage, getMostSpecificCause, getRootCause
public MethodArgumentTypeMismatchException(@Nullable java.lang.Object value, @Nullable java.lang.Class<?> requiredType, java.lang.String name, MethodParameter param, java.lang.Throwable cause)
public java.lang.String getName()
public MethodParameter getParameter()