public class MethodArgumentTypeMismatchException extends TypeMismatchException
MethodParameter
.ERROR_CODE
Constructor and Description |
---|
MethodArgumentTypeMismatchException(Object value,
Class<?> requiredType,
String name,
MethodParameter param,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name of the method argument.
|
MethodParameter |
getParameter()
Return the target method parameter.
|
getErrorCode, getRequiredType, getValue
getPropertyChangeEvent, getPropertyName
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MethodArgumentTypeMismatchException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause)
public String getName()
public MethodParameter getParameter()