Class UnsatisfiedRouteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.context.exceptions.BeanContextException
io.micronaut.web.router.exceptions.RoutingException
io.micronaut.web.router.exceptions.UnsatisfiedRouteException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsatisfiedBodyRouteException,UnsatisfiedCookieValueRouteException,UnsatisfiedHeaderRouteException,UnsatisfiedPartRouteException,UnsatisfiedPathVariableRouteException,UnsatisfiedQueryValueRouteException,UnsatisfiedRequestAttributeRouteException
An exception thrown when the an
Argument to a Route cannot be satisfied.- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnsatisfiedRouteExceptioncreate(io.micronaut.core.type.Argument<?> argument) Creates a specialized UnsatisfiedRouteException given the provided argument.io.micronaut.core.type.Argument<?>Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
create
Creates a specialized UnsatisfiedRouteException given the provided argument.- Parameters:
argument- TheArgument- Returns:
- A UnsatisfiedRouteException
-
getArgument
public io.micronaut.core.type.Argument<?> getArgument()- Returns:
- The argument
-