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. |
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, 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 MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, @Nullable Throwable cause)
MethodParameter
,
prepared description, and a cause.public final MethodParameter getMethodParameter()