Class UnsatisfiedPathVariableRouteException

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.UnsatisfiedPathVariableRouteException
All Implemented Interfaces:
Serializable

public final class UnsatisfiedPathVariableRouteException extends UnsatisfiedRouteException
An exception thrown when the an PathVariable to a Route cannot be satisfied.
Since:
1.3.0
See Also:
  • Constructor Details

    • UnsatisfiedPathVariableRouteException

      public UnsatisfiedPathVariableRouteException(String name, io.micronaut.core.type.Argument<?> argument)
      Parameters:
      name - The name of the path variable
      argument - The Argument
  • Method Details

    • getPathVariableName

      public String getPathVariableName()
      Returns:
      The name of the path variable