Class OutOfScopeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.common.inject.OutOfScopeException
All Implemented Interfaces:
Serializable

public final class OutOfScopeException extends 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 Details

    • OutOfScopeException

      public OutOfScopeException(String message)
    • OutOfScopeException

      public OutOfScopeException(String message, Throwable cause)
    • OutOfScopeException

      public OutOfScopeException(Throwable cause)