open class MissingPathVariableException : ServletRequestBindingException
ServletRequestBindingException 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.
Author
Rossen Stoyanchev
Since
4.2
MissingPathVariableException(variableName: String, parameter: MethodParameter)
Constructor for MissingPathVariableException. |
open val message: String |
fun getParameter(): MethodParameter
Return the method parameter bound to the path variable. |
|
fun getVariableName(): String
Return the expected name of the path variable. |