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:
Serializable
public final class OutOfScopeException extends 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
- Author:
- kevinb@google.com (Kevin Bourrillion)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OutOfScopeException(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
-
-