public abstract class AbstractMethodArgumentResolutionException extends MessagingException
HandlerMethodArgumentResolver.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMethodArgumentResolutionException(Message<?> message,
org.springframework.core.MethodParameter parameter)
Create a new instance providing the invalid
MethodParameter. |
protected |
AbstractMethodArgumentResolutionException(Message<?> message,
org.springframework.core.MethodParameter parameter,
java.lang.String description)
Create a new instance providing the invalid
MethodParameter and
a prepared description. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.MethodParameter |
getMethodParameter()
Return the MethodParameter that was rejected.
|
protected static java.lang.String |
getMethodParamMessage(org.springframework.core.MethodParameter param) |
getFailedMessagecontains, getMessage, getMostSpecificCause, getRootCauseprotected AbstractMethodArgumentResolutionException(Message<?> message, org.springframework.core.MethodParameter parameter)
MethodParameter.protected AbstractMethodArgumentResolutionException(Message<?> message, org.springframework.core.MethodParameter parameter, java.lang.String description)
MethodParameter and
a prepared description. Sub-classes should prepend the description with
the help of getMethodParamMessage(org.springframework.core.MethodParameter).