类 MissingPathVariableException

所有已实现的接口:
HttpStatusCodeProvider, ErrorResponse, Serializable

public class MissingPathVariableException extends MissingRequestValueException
RequestBindingException subclass that indicates that a path variable expected in the method parameters of an @RequestMapping method is not present among the URI variables extracted from the URL. Typically that means the URI template does not match the path variable name declared on the method parameter.
从以下版本开始:
3.0
作者:
TODAY 2021/4/30 22:06
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • variableName

      private final String variableName
    • parameter

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

    • MissingPathVariableException

      public MissingPathVariableException(String variableName, cn.taketoday.core.MethodParameter parameter)
      Constructor for MissingPathVariableException.
      参数:
      variableName - the name of the missing path variable
      parameter - the method parameter
    • MissingPathVariableException

      public MissingPathVariableException(String variableName, cn.taketoday.core.MethodParameter parameter, boolean missingAfterConversion)
      Constructor for use when a value was present but converted to null.
      参数:
      variableName - the name of the missing path variable
      parameter - the method parameter
      missingAfterConversion - whether the value became null after conversion
  • 方法详细资料