Class BindingNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BindingNotFoundException
    extends java.lang.RuntimeException
    This exception is used to signal that no binding was found for the URI of a given Request. An instance of this class will be thrown by the Request.connect(ResponseHandler) method when the current BindingSet has not binding that matches the corresponding Request's URI.
    Author:
    Simon Thoresen Hult
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BindingNotFoundException​(java.net.URI uri)
      Constructs a new instance of this class with a detail message that contains the URI that has no binding.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI uri()
      Returns the URI that has no binding.
      • 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

      • BindingNotFoundException

        public BindingNotFoundException​(java.net.URI uri)
        Constructs a new instance of this class with a detail message that contains the URI that has no binding.
        Parameters:
        uri - The URI that has no binding.
    • Method Detail

      • uri

        public java.net.URI uri()
        Returns the URI that has no binding.
        Returns:
        The URI.