Class MethodArgumentResolutionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MethodArgumentNotValidException, MethodArgumentTypeMismatchException

public class MethodArgumentResolutionException extends MessagingException
Common exception resulting from the invocation of HandlerMethodArgumentResolver.
Since:
4.3.6
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • MethodArgumentResolutionException

      public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter)
      Create a new instance providing the invalid MethodParameter.
    • MethodArgumentResolutionException

      public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description)
      Create a new instance providing the invalid MethodParameter and a prepared description.
    • MethodArgumentResolutionException

      public MethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, @Nullable Throwable cause)
      Create a new instance providing the invalid MethodParameter, prepared description, and a cause.
  • Method Details

    • getMethodParameter

      public final MethodParameter getMethodParameter()
      Return the MethodParameter that was rejected.