Class BindingNotFoundException

All Implemented Interfaces:
Serializable

public final class BindingNotFoundException extends 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:
  • Constructor Details

    • BindingNotFoundException

      public BindingNotFoundException(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 Details

    • uri

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