Class RouteNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
megalodonte.base.route.RouteNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a route cannot be resolved by the Router.
This exception indicates that no registered route matches the provided route identification, including dynamic segments.
It is considered a usage or configuration error and is therefore implemented as an unchecked exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRouteNotFoundException(String identification) Creates a new exception for a missing route. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RouteNotFoundException
Creates a new exception for a missing route.- Parameters:
identification- the route identification that could not be resolved
-