public class MethodArgumentResolutionException extends MessagingException
HandlerMethodArgumentResolver
.HandlerMethodArgumentResolver
,
Serialized FormConstructor 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.
|
getFailedMessage, toString
contains, getMessage, getMostSpecificCause, getRootCause
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()