类 MissingMatrixVariableException

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

public class MissingMatrixVariableException extends MissingRequestValueException
RequestBindingException subclass that indicates that a matrix variable expected in the method parameters of an @RequestMapping method is not present among the matrix variables extracted from the URL.
从以下版本开始:
4.0 2022/1/23 22:30
作者:
Juergen Hoeller, Harry Yang
另请参阅:
  • 字段详细资料

    • variableName

      private final String variableName
    • parameter

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

    • MissingMatrixVariableException

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

      public MissingMatrixVariableException(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 matrix variable
      parameter - the method parameter
      missingAfterConversion - whether the value became null after conversion
  • 方法详细资料

    • getMessage

      public String getMessage()
      覆盖:
      getMessage 在类中 Throwable
    • getVariableName

      public final String getVariableName()
      Return the expected name of the matrix variable.
    • getParameter

      public final cn.taketoday.core.MethodParameter getParameter()
      Return the method parameter bound to the matrix variable.