public abstract class AbstractMethodArgumentResolutionException extends MessagingException
HandlerMethodArgumentResolver.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMethodArgumentResolutionException(Message<?> message,
MethodParameter parameter)
Create a new instance providing the invalid
MethodParameter. |
protected |
AbstractMethodArgumentResolutionException(Message<?> message,
MethodParameter param,
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.
|
protected static java.lang.String |
getMethodParamMessage(MethodParameter param) |
getFailedMessagecontains, getMessage, getMostSpecificCause, getRootCauseprotected AbstractMethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
MethodParameter.protected AbstractMethodArgumentResolutionException(Message<?> message, MethodParameter param, java.lang.String description)
MethodParameter and
a prepared description. Subclasses should prepend the description with
the help of getMethodParamMessage(org.springframework.core.MethodParameter).public final MethodParameter getMethodParameter()
protected static java.lang.String getMethodParamMessage(MethodParameter param)