类 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
另请参阅:
  • 字段详细资料

    • name

      private final String name
    • parameter

      private final cn.taketoday.core.MethodParameter parameter
  • 构造器详细资料

    • MethodArgumentTypeMismatchException

      public MethodArgumentTypeMismatchException(@Nullable Object value, @Nullable Class<?> requiredType, String name, cn.taketoday.core.MethodParameter param, Throwable cause)
  • 方法详细资料

    • getName

      public String getName()
      Return the name of the method argument.
    • getParameter

      public cn.taketoday.core.MethodParameter getParameter()
      Return the target method parameter.