01: package com.bm.ejb3guice.inject;
02:
03: /**
04: * Thrown from {@link Provider#get} when an attempt is made to access a scoped
05: * object while the scope in question is not currently active.
06: *
07: * @author kevinb@google.com (Kevin Bourrillion)
08: */
09: public class OutOfScopeException extends RuntimeException {
10:
11: public OutOfScopeException(String message) {
12: super (message);
13: }
14:
15: public OutOfScopeException(String message, Throwable cause) {
16: super (message, cause);
17: }
18:
19: public OutOfScopeException(Throwable cause) {
20: super(cause);
21: }
22: }
|