Class MethodArgumentConversionNotSupportedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
org.springframework.beans.TypeMismatchException
org.springframework.beans.ConversionNotSupportedException
org.springframework.web.method.annotation.MethodArgumentConversionNotSupportedException
All Implemented Interfaces:
Serializable

public class MethodArgumentConversionNotSupportedException extends org.springframework.beans.ConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target MethodParameter.
Since:
4.2
Author:
Rossen Stoyanchev
See Also:
  • Constructor Details

    • MethodArgumentConversionNotSupportedException

      public MethodArgumentConversionNotSupportedException(@Nullable Object value, @Nullable Class<?> requiredType, String name, org.springframework.core.MethodParameter param, Throwable cause)
  • Method Details

    • getName

      public String getName()
      Return the name of the method argument.
    • getParameter

      public org.springframework.core.MethodParameter getParameter()
      Return the target method parameter.