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,
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
MethodParameter
.public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description)
MethodParameter
and
a prepared description.public final MethodParameter getMethodParameter()