Package com.yahoo.jdisc.service
Class NoBindingSetSelectedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.yahoo.jdisc.service.NoBindingSetSelectedException
-
- All Implemented Interfaces:
Serializable
public final class NoBindingSetSelectedException extends RuntimeException
This exception is used to signal that noBindingSet
was selected for a givenURI
. An instance of this class will be thrown by theCurrentContainer.newReference(URI)
method ifBindingSetSelector.select(URI)
returned null.- Author:
- Simon Thoresen Hult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoBindingSetSelectedException(URI uri)
Constructs a new instance of this class with a detail message that contains theURI
for which there was noBindingSet
selected.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
uri()
Returns theURI
for which there was noBindingSet
selected.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoBindingSetSelectedException
public NoBindingSetSelectedException(URI uri)
Constructs a new instance of this class with a detail message that contains theURI
for which there was noBindingSet
selected.- Parameters:
uri
- The URI for which there was no BindingSet selected.
-
-
Method Detail
-
uri
public URI uri()
Returns theURI
for which there was noBindingSet
selected.- Returns:
- The URI.
-
-