/external/guice/core/test/com/google/inject/ |
D | ProvisionExceptionTest.java | 44 } catch (ProvisionException e) { in testExceptionsCollapsed() 65 } catch (ProvisionException e) { in testExceptionsCollapsedWithScopes() 79 } catch (ProvisionException e) { in testMethodInjectionExceptions() 94 } catch (ProvisionException e) { in testBindToProviderInstanceExceptions() 110 } catch (ProvisionException e) { in testProvisionExceptionsAreWrappedForBindToType() 124 } catch (ProvisionException e) { in testProvisionExceptionsAreWrappedForBindToProviderType() 139 } catch (ProvisionException e) { in testProvisionExceptionsAreWrappedForBindToProviderInstance() 150 } catch (ProvisionException expected) { in testProvisionExceptionIsSerializable() 151 ProvisionException reserialized = reserialize(expected); in testProvisionExceptionIsSerializable() 169 } catch (ProvisionException e) { in testMultipleCauses() [all …]
|
D | NullableInjectionPointTest.java | 24 catch (ProvisionException expected) { in testInjectNullIntoNotNullableConstructor() 36 catch (ProvisionException expected) { in testInjectNullIntoNotNullableMethod() 48 catch (ProvisionException expected) { in testInjectNullIntoNotNullableField() 146 catch(ProvisionException expected) { 167 catch(ProvisionException expected) { 188 } catch(ProvisionException expected) {
|
D | CircularDependencyTest.java | 196 } catch (ProvisionException expected) { in testUnresolvableCircularDependency() 211 } catch (ProvisionException expected) { in testUnresolvableCircularDependenciesWithProviderInstances() 227 } catch (ProvisionException expected) { in testUnresolvableCircularDependenciesWithProviderKeys() 238 } catch (ProvisionException expected) { in testUnresolvableCircularDependenciesWithProvidedBy() 284 } catch (ProvisionException expected) { in testDisabledCircularDependency() 301 } catch (ProvisionException expected) { in testDisabledCircularDependenciesWithProviderInstances() 318 } catch (ProvisionException expected) { in testDisabledCircularDependenciesWithProviderKeys() 334 } catch (ProvisionException expected) { in testDisabledCircularDependenciesWithProvidedBy() 367 } catch(ProvisionException expected) { in testDisablingCircularProxies() 470 } catch(ProvisionException expected) { in testCircularDependenciesDetectedEarlyWhenDependenciesHaveDifferentTypes() [all …]
|
D | ProvisionExceptionsTest.java | 47 } catch(ProvisionException pe) { in testConstructorRuntimeException() 69 } catch(ProvisionException pe) { in testConstructorCheckedException() 94 } catch(ProvisionException pe) { in testCustomProvidersRuntimeException() 117 } catch(ProvisionException pe) { in testProviderMethodRuntimeException() 140 } catch(ProvisionException pe) { in testProviderMethodCheckedException()
|
D | ProvisionListenerTest.java | 61 } catch(ProvisionException pe) { in testExceptionInListenerBeforeProvisioning() 82 } catch(ProvisionException pe) { in testExceptionInListenerAfterProvisioning() 103 } catch(ProvisionException pe) { in testExceptionInProvisionExplicitlyCalled() 123 } catch(ProvisionException pe) { in testExceptionInProvisionAutomaticallyCalled() 149 } catch (ProvisionException expected) { in testExceptionInFieldProvision() 179 } catch (ProvisionException expected) { in testExceptionInCxtorProvision() 203 } catch(ProvisionException pe) { in testListenerCallsProvisionTwice() 261 } catch(ProvisionException pe) { in testNotifyEarlyListenersIfFailBeforeProvision() 287 } catch(ProvisionException pe) { in testNotifyLaterListenersIfFailAfterProvision() 399 } catch(ProvisionException expected) { in testCallingBindingDotGetProviderDotGet() [all …]
|
D | TypeListenerTest.java | 256 } catch (ProvisionException e) { 266 } catch (ProvisionException e) { 277 } catch (ProvisionException e) { 497 } catch (ProvisionException e) { 507 } catch (ProvisionException e) { 518 } catch (ProvisionException e) {
|
D | BinderTestSuite.java | 589 } catch (ProvisionException expected) { in test() 597 } catch (ProvisionException expected) { in test() 605 } catch (ProvisionException expected) { in test() 612 } catch (ProvisionException expected) { in test() 622 } catch (ProvisionException expected) { in test() 633 } catch (ProvisionException expected) { in test()
|
D | ScopesTest.java | 794 } catch (ProvisionException expected) { 1140 assertEquals(firstException.getClass(), ProvisionException.class); 1141 assertEquals(secondException.getClass(), ProvisionException.class); 1142 assertEquals(thirdException.getClass(), ProvisionException.class);
|
D | MembersInjectorTest.java | 145 } catch (ProvisionException expected) { in testInjectionFailure()
|
D | InjectorTest.java | 322 } catch (ProvisionException expected) {
|
/external/guice/core/src/com/google/inject/ |
D | ProvisionException.java | 34 public final class ProvisionException extends RuntimeException { class 39 public ProvisionException(Iterable<Message> messages) { in ProvisionException() method in ProvisionException 45 public ProvisionException(String message, Throwable cause) { in ProvisionException() method in ProvisionException 50 public ProvisionException(String message) { in ProvisionException() method in ProvisionException
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProviderToInternalFactoryAdapter.java | 20 import com.google.inject.ProvisionException; 52 throw new ProvisionException(errors.merge(e.getErrors()).getMessages()); in get()
|
D | ProvisionListenerStackCallback.java | 22 import com.google.inject.ProvisionException; 121 throw new ProvisionException(errors.merge(ee.getErrors()).getMessages()); in provision()
|
D | SingletonScope.java | 12 import com.google.inject.ProvisionException; 213 throw new ProvisionException(ImmutableList.of( in scope()
|
D | Errors.java | 31 import com.google.inject.ProvisionException; 404 if (throwable instanceof ProvisionException) { in getMessagesFromThrowable() 405 return ((ProvisionException) throwable).getErrorMessages(); in getMessagesFromThrowable() 482 throw new ProvisionException(getMessages()); in throwProvisionExceptionIfErrorsExist()
|
D | InjectorImpl.java | 36 import com.google.inject.ProvisionException; 1025 throw new ProvisionException(errors.merge(e.getErrors()).getMessages());
|
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | Java8LanguageFeatureBindingTest.java | 27 import com.google.inject.ProvisionException; 93 } catch (ProvisionException expected) { in testProviderMethod_containingLambda_throwingException()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ScopeRequestIntegrationTest.java | 27 import com.google.inject.ProvisionException; 122 } catch(ProvisionException pe) { in testNullReplacement()
|
D | ServletTest.java | 40 import com.google.inject.ProvisionException; 100 } catch(ProvisionException oose) { in testScopeExceptions() 107 } catch(ProvisionException oose) { in testScopeExceptions() 115 } catch(ProvisionException oose) { in testScopeExceptions()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | ThrowingProviderBinder.java | 30 import com.google.inject.ProvisionException; 243 } catch (ProvisionException pe) { in providing() 312 } catch (ProvisionException pe) { in toInternal()
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | MultibinderTest.java | 48 import com.google.inject.ProvisionException; 350 } catch (ProvisionException expected) { in testMultibinderSetForbidsDuplicateElements() 407 } catch (ProvisionException expected) { in testMultibinderSetShowsBothElementsIfToStringDifferent() 480 } catch(ProvisionException expected) { in testMultibinderSetForbidsNullElements() 973 } catch (ProvisionException e) { in testConcurrentMutation_bindingsDiffentAtInjectorCreation()
|
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/ |
D | BoundFieldModuleTest.java | 30 import com.google.inject.ProvisionException; 712 } catch (ProvisionException e) { in testFieldBound_lazy_rejectNull()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ProviderMethodsTest.java | 37 import com.google.inject.ProvisionException; 904 } catch (ProvisionException expected) {
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider2.java | 40 import com.google.inject.ProvisionException; 771 } catch (ProvisionException e) { in invoke()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | CheckedProviderTest.java | 37 import com.google.inject.ProvisionException; 1498 } catch(ProvisionException pe) { in testProvisionExceptionOnDependenciesOfCxtor()
|