ServletRequestBindingException 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.
MissingPathVariableException
| Modifier and Type | Field and Description |
|---|---|
| private final MethodParameter | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | MissingMatrixVariableException(String
the name of the missing matrix variable variableName, MethodParameter the method parameter parameter)Constructor for MissingMatrixVariableException. |
| public | MissingMatrixVariableException(String
the name of the missing matrix variable variableName, MethodParameter the method parameter parameter, boolean whether the value became null after conversion missingAfterConversion)Constructor for use when a value was present but converted to |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides java. Returns the detail message string of this throwable. |
| public final MethodParameter | |
| public final String |
| parameter | back to summary |
|---|---|
| private final MethodParameter parameter | |
| variableName | back to summary |
|---|---|
| private final String variableName | |
| MissingMatrixVariableException | back to summary |
|---|---|
| public MissingMatrixVariableException(String variableName, MethodParameter parameter) Constructor for MissingMatrixVariableException.
| |
| MissingMatrixVariableException | back to summary |
|---|---|
| public MissingMatrixVariableException(String variableName, MethodParameter parameter, boolean missingAfterConversion) Constructor for use when a value was present but converted to
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getParameter | back to summary |
|---|---|
| public final MethodParameter getParameter() Return the method parameter bound to the matrix variable. | |
| getVariableName | back to summary |
|---|---|
| public final String getVariableName() Return the expected name of the matrix variable. | |