/external/guice/core/src/com/google/inject/internal/ |
D | InternalProvisionException.java | 66 public final class InternalProvisionException extends Exception { class 72 public static InternalProvisionException circularDependenciesDisabled(Class<?> expectedType) { in circularDependenciesDisabled() 78 public static InternalProvisionException cannotProxyClass(Class<?> expectedType) { in cannotProxyClass() 84 public static InternalProvisionException create(String format, Object... arguments) { in create() 85 return new InternalProvisionException(Messages.create(format, arguments)); in create() 88 public static InternalProvisionException errorInUserCode( in errorInUserCode() 94 return new InternalProvisionException(messages); in errorInUserCode() 96 return new InternalProvisionException(Messages.create(cause, messageFormat, arguments)); in errorInUserCode() 100 public static InternalProvisionException subtypeNotProvided( in subtypeNotProvided() 105 public static InternalProvisionException errorInProvider(Throwable cause) { in errorInProvider() [all …]
|
D | InternalProviderInstanceBindingImpl.java | 111 throws InternalProvisionException { in get() 119 public T call() throws InternalProvisionException { in get() 132 throws InternalProvisionException; in doProvision() 148 throws InternalProvisionException { 168 public T call() throws InternalProvisionException { 183 throws InternalProvisionException { 188 } catch (InternalProvisionException ipe) { 191 throw InternalProvisionException.errorInProvider(t).addSource(getSource());
|
D | MembersInjectorImpl.java | 72 } catch (InternalProvisionException ipe) { in injectMembers() 83 throws InternalProvisionException { in injectAndNotify() 95 public T call() throws InternalProvisionException { in injectAndNotify() 121 void notifyListeners(T instance) throws InternalProvisionException { in notifyListeners() 133 throw InternalProvisionException.errorNotifyingInjectionListener( in notifyListeners() 140 throws InternalProvisionException { in injectMembers() 162 throw InternalProvisionException.errorInUserInjector( in injectMembers()
|
D | ProvidedByInternalFactory.java | 60 throws InternalProvisionException { in get() 72 } catch (InternalProvisionException ipe) { in get() 85 throws InternalProvisionException { in provision() 89 throw InternalProvisionException.subtypeNotProvided(providerType, rawType); in provision() 95 throw InternalProvisionException.errorInProvider(e).addSource(source); in provision()
|
D | ConstructorInjector.java | 66 throws InternalProvisionException { in construct() 80 throw InternalProvisionException.circularDependenciesDisabled( in construct() 97 public T call() throws InternalProvisionException { in construct() 109 throws InternalProvisionException { 130 throw InternalProvisionException.errorInjectingConstructor(cause)
|
D | ProvisionListenerStackCallback.java | 62 throws InternalProvisionException { in provision() 76 throw InternalProvisionException.errorInUserCode( in provision() 89 public T call() throws InternalProvisionException; in call() 99 InternalProvisionException exceptionDuringProvision; 113 } catch (InternalProvisionException ipe) { in provision()
|
D | ProviderInternalFactory.java | 43 throws InternalProvisionException { in circularGet() 65 public T call() throws InternalProvisionException { in circularGet() 84 throws InternalProvisionException { 87 InternalProvisionException.onNullInjectedIntoNonNullableDependency(source, dependency);
|
D | BoundProviderFactory.java | 56 throws InternalProvisionException { in get() 62 } catch (InternalProvisionException ipe) { in get() 75 throws InternalProvisionException { in provision() 79 throw InternalProvisionException.errorInProvider(userException); in provision()
|
D | InternalFactoryToProviderAdapter.java | 37 throws InternalProvisionException { in get() 41 InternalProvisionException.onNullInjectedIntoNonNullableDependency(source, dependency); in get() 45 throw InternalProvisionException.errorInProvider(userException).addSource(source); in get()
|
D | SingleParameterInjector.java | 37 T inject(InternalContext context) throws InternalProvisionException { in inject() 43 } catch (InternalProvisionException ipe) { in inject() 55 throws InternalProvisionException { in getAll()
|
D | InternalFactoryToInitializableAdapter.java | 46 throws InternalProvisionException { in get() 55 throws InternalProvisionException { in provision() 59 throw InternalProvisionException.errorInProvider(userException).addSource(source); in provision()
|
D | ConstructionContext.java | 62 throws InternalProvisionException { in createProxy() 64 throw InternalProvisionException.circularDependenciesDisabled(expectedType); in createProxy() 67 throw InternalProvisionException.cannotProxyClass(expectedType); in createProxy()
|
D | SingleFieldInjector.java | 48 public void inject(InternalContext context, Object o) throws InternalProvisionException { in inject() 54 } catch (InternalProvisionException e) { in inject()
|
D | FactoryProxy.java | 57 throws InternalProvisionException { in get() 63 } catch (InternalProvisionException ipe) { in get()
|
D | SingleMethodInjector.java | 81 public void inject(InternalContext context, Object o) throws InternalProvisionException { 90 throw InternalProvisionException.errorInjectingMethod(cause).addSource(injectionPoint);
|
D | Initializer.java | 141 } catch (InternalProvisionException ipe) { in injectAll() 198 public T get() throws InternalProvisionException { in get() 247 } catch (InternalProvisionException ipe) { in get()
|
D | RealMultibinder.java | 184 throws InternalProvisionException { in doProvision() 212 private InternalProvisionException newNullEntryException(int i) { in newNullEntryException() 213 return InternalProvisionException.create( in newNullEntryException() 228 private InternalProvisionException newDuplicateValuesException( in newDuplicateValuesException() 256 return InternalProvisionException.create( in newDuplicateValuesException() 262 return InternalProvisionException.create( in newDuplicateValuesException()
|
D | Initializable.java | 27 T get() throws InternalProvisionException; in get()
|
D | ProviderMethod.java | 171 throws InternalProvisionException { in doProvision() 175 InternalProvisionException.onNullInjectedIntoNonNullableDependency(getMethod(), dependency); in doProvision() 182 throw InternalProvisionException.errorInProvider(cause).addSource(getSource()); in doProvision()
|
D | SingleMemberInjector.java | 23 void inject(InternalContext context, Object o) throws InternalProvisionException; in inject()
|
D | InternalFactory.java | 37 throws InternalProvisionException; in get()
|
D | RealOptionalBinder.java | 320 throws InternalProvisionException { in doProvision() 333 } catch (InternalProvisionException ipe) { in doProvision() 434 throws InternalProvisionException { in doProvision() 440 } catch (InternalProvisionException ipe) { in doProvision() 510 throws InternalProvisionException { in doProvision() 525 } catch (InternalProvisionException ipe) { in doProvision()
|
D | ConstantFactory.java | 33 throws InternalProvisionException { in get()
|
D | ProviderToInternalFactoryAdapter.java | 42 } catch (InternalProvisionException e) { in get()
|
/external/guice/core/test/com/google/inject/internal/ |
D | InternalProvisionExceptionTest.java | 28 InternalProvisionException.create("An error") in testSourceFormatting()
|