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, getPropertyName, getRequiredType, getValue, initPropertyName
getPropertyChangeEvent
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getName()
public MethodParameter getParameter()