Class NoBindingSetSelectedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class NoBindingSetSelectedException
    extends java.lang.RuntimeException
    This exception is used to signal that no BindingSet was selected for a given URI. An instance of this class will be thrown by the CurrentContainer.newReference(URI) method if BindingSetSelector.select(URI) returned null.
    Author:
    Simon Thoresen Hult
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoBindingSetSelectedException​(java.net.URI uri)
      Constructs a new instance of this class with a detail message that contains the URI for which there was no BindingSet selected.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI uri()
      Returns the URI for which there was no BindingSet selected.
      • 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

      • NoBindingSetSelectedException

        public NoBindingSetSelectedException​(java.net.URI uri)
        Constructs a new instance of this class with a detail message that contains the URI for which there was no BindingSet selected.
        Parameters:
        uri - The URI for which there was no BindingSet selected.
    • Method Detail

      • uri

        public java.net.URI uri()
        Returns the URI for which there was no BindingSet selected.
        Returns:
        The URI.