org.elasticsearch.common.inject
Class OutOfScopeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
Author:
kevinb@google.com (Kevin Bourrillion)
See Also:
Serialized Form

Constructor Summary
OutOfScopeException(String message)
           
OutOfScopeException(String message, Throwable cause)
           
OutOfScopeException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutOfScopeException

public OutOfScopeException(String message)

OutOfScopeException

public OutOfScopeException(String message,
                           Throwable cause)

OutOfScopeException

public OutOfScopeException(Throwable cause)


Copyright © 2009-2012. All Rights Reserved.