Top Description Fields Constructors Methods
org.springframework.web.method.annotation

public Class MethodArgumentConversionNotSupportedException

extends ConversionNotSupportedException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.beans.ConversionNotSupportedException, org.springframework.core.MethodParameter, org.springframework.lang.Nullable

A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target MethodParameter.
Author
Rossen Stoyanchev
Since
4.2

Field Summary

Modifier and TypeField and Description
private final String
private final MethodParameter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Return the name of the method argument.

public MethodParameter
getParameter()

Return the target method parameter.

Field Detail

nameback to summary
private final String name
parameterback to summary
private final MethodParameter parameter

Constructor Detail

MethodArgumentConversionNotSupportedExceptionback to summary
public MethodArgumentConversionNotSupportedException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause)

Method Detail

getNameback to summary
public String getName()

Return the name of the method argument.

getParameterback to summary
public MethodParameter getParameter()

Return the target method parameter.