Home
last modified time | relevance | path

Searched refs:ProvisionException (Results 1 – 25 of 26) sorted by relevance

12

/external/guice/core/test/com/google/inject/
DProvisionExceptionTest.java44 } 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 …]
DNullableInjectionPointTest.java24 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) {
DCircularDependencyTest.java196 } 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 …]
DProvisionExceptionsTest.java47 } 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()
DProvisionListenerTest.java61 } 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 …]
DTypeListenerTest.java256 } catch (ProvisionException e) {
266 } catch (ProvisionException e) {
277 } catch (ProvisionException e) {
497 } catch (ProvisionException e) {
507 } catch (ProvisionException e) {
518 } catch (ProvisionException e) {
DBinderTestSuite.java589 } 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()
DScopesTest.java794 } catch (ProvisionException expected) {
1140 assertEquals(firstException.getClass(), ProvisionException.class);
1141 assertEquals(secondException.getClass(), ProvisionException.class);
1142 assertEquals(thirdException.getClass(), ProvisionException.class);
DMembersInjectorTest.java145 } catch (ProvisionException expected) { in testInjectionFailure()
DInjectorTest.java322 } catch (ProvisionException expected) {
/external/guice/core/src/com/google/inject/
DProvisionException.java34 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/
DProviderToInternalFactoryAdapter.java20 import com.google.inject.ProvisionException;
52 throw new ProvisionException(errors.merge(e.getErrors()).getMessages()); in get()
DProvisionListenerStackCallback.java22 import com.google.inject.ProvisionException;
121 throw new ProvisionException(errors.merge(ee.getErrors()).getMessages()); in provision()
DSingletonScope.java12 import com.google.inject.ProvisionException;
213 throw new ProvisionException(ImmutableList.of( in scope()
DErrors.java31 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()
DInjectorImpl.java36 import com.google.inject.ProvisionException;
1025 throw new ProvisionException(errors.merge(e.getErrors()).getMessages());
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DJava8LanguageFeatureBindingTest.java27 import com.google.inject.ProvisionException;
93 } catch (ProvisionException expected) { in testProviderMethod_containingLambda_throwingException()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DScopeRequestIntegrationTest.java27 import com.google.inject.ProvisionException;
122 } catch(ProvisionException pe) { in testNullReplacement()
DServletTest.java40 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/
DThrowingProviderBinder.java30 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/
DMultibinderTest.java48 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/
DBoundFieldModuleTest.java30 import com.google.inject.ProvisionException;
712 } catch (ProvisionException e) { in testFieldBound_lazy_rejectNull()
/external/guice/core/test/com/google/inject/spi/
DProviderMethodsTest.java37 import com.google.inject.ProvisionException;
904 } catch (ProvisionException expected) {
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java40 import com.google.inject.ProvisionException;
771 } catch (ProvisionException e) { in invoke()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProviderTest.java37 import com.google.inject.ProvisionException;
1498 } catch(ProvisionException pe) { in testProvisionExceptionOnDependenciesOfCxtor()

12