Class OutOfScopeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait