Class UnsatisfiedHeaderRouteException
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
io.micronaut.web.router.exceptions.UnsatisfiedHeaderRouteException
- All Implemented Interfaces:
Serializable
An exception thrown when the an
Header to a Route cannot be satisfied.- Since:
- 1.3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsatisfiedHeaderRouteException(String name, io.micronaut.core.type.Argument<?> argument) -
Method Summary
Methods inherited from class io.micronaut.web.router.exceptions.UnsatisfiedRouteException
create, getArgumentMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsatisfiedHeaderRouteException
- Parameters:
name- The name of the headerargument- TheArgument
-
-
Method Details
-
getHeaderName
- Returns:
- The name of the header
-