1 16 package org.directwebremoting.guice; 17 18 import com.google.inject.Key; 19 import com.google.inject.Scope; 20 21 27 public class OutOfScopeException extends RuntimeException  28 { 29 public OutOfScopeException(Scope scope, Key<?> key, Throwable cause) 30 { 31 super(String.format( 32 "Not in scope %s for key %s: caused by %s", 33 scope, key, cause 34 ), cause); 35 } 36 } 37 | Popular Tags |