public class MethodArgumentResolutionException extends MessagingException
HandlerMethodArgumentResolver.HandlerMethodArgumentResolver,
Serialized Form| Constructor 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. |
MethodArgumentResolutionException(Message<?> message,
MethodParameter parameter,
String description,
Throwable cause)
Create a new instance providing the invalid
MethodParameter,
prepared description, and a cause. |
| Modifier and Type | Method and Description |
|---|---|
MethodParameter |
getMethodParameter()
Return the MethodParameter that was rejected.
|
getFailedMessage, toStringcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic MethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
MethodParameter.public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description)
MethodParameter and
a prepared description.public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, @Nullable Throwable cause)
MethodParameter,
prepared description, and a cause.public final MethodParameter getMethodParameter()