Package com.yahoo.jdisc.service
Class BindingSetNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.yahoo.jdisc.service.BindingSetNotFoundException
-
- All Implemented Interfaces:
Serializable
public final class BindingSetNotFoundException extends RuntimeException
This exception is used to signal that a namedBindingSet
was not found. An instance of this class will be thrown by theCurrentContainer.newReference(URI)
method when a BindingSet with the specified name does not exist.- Author:
- Simon Thoresen Hult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BindingSetNotFoundException(String bindingSet)
Constructs a new instance of this class with a detail message that contains the name of theBindingSet
that was not found.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bindingSet()
Returns the name of theBindingSet
that was not found.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BindingSetNotFoundException
public BindingSetNotFoundException(String bindingSet)
Constructs a new instance of this class with a detail message that contains the name of theBindingSet
that was not found.- Parameters:
bindingSet
- The name of theBindingSet
that was not found.
-
-
Method Detail
-
bindingSet
public String bindingSet()
Returns the name of theBindingSet
that was not found.- Returns:
- The name of the BindingSet.
-
-