Class UnsatisfiedHeaderRouteException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class UnsatisfiedHeaderRouteException
    extends UnsatisfiedRouteException
    An exception thrown when the an Header to a Route cannot be satisfied.
    Since:
    1.3.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsatisfiedHeaderRouteException​(java.lang.String name, io.micronaut.core.type.Argument<?> argument)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHeaderName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnsatisfiedHeaderRouteException

        public UnsatisfiedHeaderRouteException​(java.lang.String name,
                                               io.micronaut.core.type.Argument<?> argument)
        Parameters:
        name - The name of the header
        argument - The Argument
    • Method Detail

      • getHeaderName

        public java.lang.String getHeaderName()
        Returns:
        The name of the header