Package org.opensearch.common.inject
Class OutOfScopeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opensearch.common.inject.OutOfScopeException
- All Implemented Interfaces:
java.io.Serializable
public final class OutOfScopeException
extends java.lang.RuntimeException
Thrown from
Provider.get()
when an attempt is made to access a scoped
object while the scope in question is not currently active.- Since:
- 2.0
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OutOfScopeException(java.lang.String message)
OutOfScopeException(java.lang.String message, java.lang.Throwable cause)
OutOfScopeException(java.lang.Throwable cause)
-
Method Summary
-
Constructor Details
-
OutOfScopeException
public OutOfScopeException(java.lang.String message) -
OutOfScopeException
public OutOfScopeException(java.lang.String message, java.lang.Throwable cause) -
OutOfScopeException
public OutOfScopeException(java.lang.Throwable cause)
-