类 MethodArgumentTypeMismatchException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.messaging.MessagingException
- org.springframework.messaging.handler.invocation.MethodArgumentResolutionException
- org.springframework.messaging.handler.annotation.support.AbstractMethodArgumentResolutionException
- org.springframework.messaging.handler.annotation.support.MethodArgumentTypeMismatchException
- 所有已实现的接口:
Serializable
public class MethodArgumentTypeMismatchException extends AbstractMethodArgumentResolutionException
Exception that indicates that a method argument has not the expected type.- 从以下版本开始:
- 4.0.3
- 作者:
- Stephane Nicoll
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 MethodArgumentTypeMismatchException(Message<?> message, MethodParameter parameter, String description)
方法概要
从类继承的方法 org.springframework.messaging.handler.annotation.support.AbstractMethodArgumentResolutionException
getMethodParamMessage
从类继承的方法 org.springframework.messaging.handler.invocation.MethodArgumentResolutionException
getMethodParameter
从类继承的方法 org.springframework.messaging.MessagingException
getFailedMessage, toString
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
MethodArgumentTypeMismatchException
public MethodArgumentTypeMismatchException(Message<?> message, MethodParameter parameter, String description)