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

public class UnsatisfiedRouteException extends RoutingException
An exception thrown when the an Argument to a Route cannot be satisfied.
Since:
1.0
See Also:
  • Method Details

    • create

      public static UnsatisfiedRouteException create(io.micronaut.core.type.Argument<?> argument)
      Creates a specialized UnsatisfiedRouteException given the provided argument.
      Parameters:
      argument - The Argument
      Returns:
      A UnsatisfiedRouteException
    • getArgument

      public io.micronaut.core.type.Argument<?> getArgument()
      Returns:
      The argument