public class MethodArgumentResolutionException extends MessagingException
HandlerMethodArgumentResolver
.HandlerMethodArgumentResolver
,
Serialized FormModifier and Type | Field and Description |
---|---|
private MethodParameter |
parameter |
Constructor and Description |
---|
MethodArgumentResolutionException(Message<?> message,
MethodParameter parameter)
Create a new instance providing the invalid
MethodParameter . |
MethodArgumentResolutionException(Message<?> message,
MethodParameter parameter,
java.lang.String description)
Create a new instance providing the invalid
MethodParameter and
a prepared description. |
Modifier and Type | Method and Description |
---|---|
MethodParameter |
getMethodParameter()
Return the MethodParameter that was rejected.
|
private static java.lang.String |
getMethodParameterMessage(MethodParameter parameter) |
getFailedMessage, toString
contains, getMessage, getMostSpecificCause, getRootCause
private final MethodParameter parameter
public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
MethodParameter
.public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, java.lang.String description)
MethodParameter
and
a prepared description.public final MethodParameter getMethodParameter()
private static java.lang.String getMethodParameterMessage(MethodParameter parameter)