Package com.google.inject
Class OutOfScopeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.inject.OutOfScopeException
-
- All Implemented Interfaces:
java.io.Serializable
public final class OutOfScopeException extends java.lang.RuntimeException
Thrown fromProvider.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)
-