- All Implemented Interfaces:
Serializable
Usage exceptions. They provide a descriptive message with a link for a detailed section.
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Usage
mvcRouterNotFound
(Class mvcRoute) Creates a mvc route missing exception.static Usage
parameterNameNotPresent
(Parameter parameter) Thrown when the reflective bean converter has no access to a parameter name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Usage
Creates a new Usage exception.- Parameters:
message
- Message.id
- Link to detailed section.
-
-
Method Details
-
mvcRouterNotFound
Creates a mvc route missing exception.- Parameters:
mvcRoute
- Mvc route.- Returns:
- Usage exception.
-
parameterNameNotPresent
Thrown when the reflective bean converter has no access to a parameter name. Compilation must be done usingparameters
compiler option.- Parameters:
parameter
- Parameter.- Returns:
- Usage exception.
-