spring-framework / org.springframework.web.method.annotation / MethodArgumentConversionNotSupportedException

MethodArgumentConversionNotSupportedException

open class MethodArgumentConversionNotSupportedException : ConversionNotSupportedException

A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target org.springframework.core.MethodParameter.

Author
Rossen Stoyanchev

Since
4.2

Constructors

<init>

MethodArgumentConversionNotSupportedException(value: Any, requiredType: Class<*>, name: String, param: MethodParameter, cause: Throwable)

Functions

getName

open fun getName(): String

Return the name of the method argument.

getParameter

open fun getParameter(): MethodParameter

Return the target method parameter.