org.springframework.web.method.annotation

Class MethodArgumentConversionNotSupportedException

  • All Implemented Interfaces:
    java.io.Serializable


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

      • MethodArgumentConversionNotSupportedException

        public MethodArgumentConversionNotSupportedException(@Nullable
                                                             java.lang.Object value,
                                                             @Nullable
                                                             java.lang.Class<?> requiredType,
                                                             java.lang.String name,
                                                             MethodParameter param,
                                                             java.lang.Throwable cause)
    • Method Detail

      • getName

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

        public MethodParameter getParameter()
        Return the target method parameter.