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 param,
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 String |
getMethodParamMessage(org.springframework.core.MethodParameter param) |
getFailedMessage
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected AbstractMethodArgumentResolutionException(Message<?> message, org.springframework.core.MethodParameter parameter)
MethodParameter
.protected AbstractMethodArgumentResolutionException(Message<?> message, org.springframework.core.MethodParameter param, String description)
MethodParameter
and
a prepared description. Subclasses should prepend the description with
the help of getMethodParamMessage(org.springframework.core.MethodParameter)
.public final org.springframework.core.MethodParameter getMethodParameter()
protected static String getMethodParamMessage(org.springframework.core.MethodParameter param)