类 MethodArgumentTypeMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.beans.BeansException
cn.taketoday.beans.PropertyAccessException
cn.taketoday.beans.TypeMismatchException
cn.taketoday.web.handler.method.MethodArgumentTypeMismatchException
- 所有已实现的接口:
Serializable
public class MethodArgumentTypeMismatchException
extends cn.taketoday.beans.TypeMismatchException
A TypeMismatchException raised while resolving a controller method argument.
Provides access to the target
MethodParameter.- 从以下版本开始:
- 4.0 2022/4/17 11:17
- 作者:
- Rossen Stoyanchev, Harry Yang
- 另请参阅:
-
字段概要
字段从类继承的字段 cn.taketoday.beans.TypeMismatchException
ERROR_CODE -
构造器概要
构造器构造器说明MethodArgumentTypeMismatchException(Object value, Class<?> requiredType, String name, cn.taketoday.core.MethodParameter param, Throwable cause) -
方法概要
修饰符和类型方法说明getName()Return the name of the method argument.cn.taketoday.core.MethodParameterReturn the target method parameter.从类继承的方法 cn.taketoday.beans.TypeMismatchException
getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyName从类继承的方法 cn.taketoday.beans.PropertyAccessException
getPropertyChangeEvent从类继承的方法 cn.taketoday.beans.BeansException
getDesc从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
name
-
parameter
private final cn.taketoday.core.MethodParameter parameter
-
-
构造器详细资料
-
MethodArgumentTypeMismatchException
-
-
方法详细资料
-
getName
Return the name of the method argument. -
getParameter
public cn.taketoday.core.MethodParameter getParameter()Return the target method parameter.
-