spring-framework / org.springframework.messaging.handler.annotation.support / MethodArgumentTypeMismatchException

MethodArgumentTypeMismatchException

open class MethodArgumentTypeMismatchException : MethodArgumentResolutionException

Exception that indicates that a method argument has not the expected type.

Author
Stephane Nicoll

Since
4.0.3

Constructors

<init>

MethodArgumentTypeMismatchException(message: Message<*>, parameter: MethodParameter, description: String)

Inherited Functions

getMethodParameter

fun getMethodParameter(): MethodParameter

Return the MethodParameter that was rejected.