Package org.elasticsearch.common.inject
Class OutOfScopeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.common.inject.OutOfScopeException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionOutOfScopeException
(String message) OutOfScopeException
(String message, Throwable cause) OutOfScopeException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OutOfScopeException
-
OutOfScopeException
-
OutOfScopeException
-