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:
java.io.Serializable
- Direct Known Subclasses:
UnsatisfiedBodyRouteException,UnsatisfiedCookieValueRouteException,UnsatisfiedHeaderRouteException,UnsatisfiedPartRouteException,UnsatisfiedPathVariableRouteException,UnsatisfiedQueryValueRouteException,UnsatisfiedRequestAttributeRouteException
public class UnsatisfiedRouteException extends RoutingException
An exception thrown when the anArgumentto aRoutecannot be satisfied.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsatisfiedRouteExceptioncreate(io.micronaut.core.type.Argument<?> argument)Creates a specialized UnsatisfiedRouteException given the provided argument.io.micronaut.core.type.Argument<?>getArgument()
-
-
-
Method Detail
-
create
public static UnsatisfiedRouteException create(io.micronaut.core.type.Argument<?> argument)
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
-
-