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 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.
|
protected static String |
getMethodParamMessage(MethodParameter param) |
getFailedMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected AbstractMethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
MethodParameter.protected AbstractMethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description)
MethodParameter and
a prepared description. Sub-classes should prepend the description with
the help of getMethodParamMessage(org.springframework.core.MethodParameter).public MethodParameter getMethodParameter()
protected static String getMethodParamMessage(MethodParameter param)