Home
last modified time | relevance | path

Searched refs:ConfigurationException (Results 1 – 25 of 43) sorted by relevance

12

/external/guice/core/src/com/google/inject/
DConfigurationException.java32 public final class ConfigurationException extends RuntimeException { class
38 public ConfigurationException(Iterable<Message> messages) { in ConfigurationException() method in ConfigurationException
44 public ConfigurationException withPartialValue(Object partialValue) { in withPartialValue()
47 ConfigurationException result = new ConfigurationException(messages); in withPartialValue()
/external/guice/core/src/com/google/inject/internal/
DBindingBuilder.java23 import com.google.inject.ConfigurationException;
90 } catch (ConfigurationException e) { in toInstance()
119 } catch (ConfigurationException e) { in toProvider()
173 } catch (ConfigurationException e) { in toConstructor()
187 } catch (ConfigurationException e) { in toConstructor()
199 private void copyErrorsToBinder(ConfigurationException e) { in copyErrorsToBinder()
DInjectionRequestProcessor.java21 import com.google.inject.ConfigurationException;
57 } catch (ConfigurationException e) { in visit()
102 } catch (ConfigurationException e) { in validate()
DErrors.java25 import com.google.inject.ConfigurationException;
85 throw new ConfigurationException(ImmutableSet.of(new Message(npe.toString(), npe))); in checkNotNull()
97 throw new ConfigurationException(ImmutableSet.of(new Message(Errors.format(format, args)))); in checkConfiguration()
503 } else if (throwable instanceof ConfigurationException) { in getMessagesFromThrowable()
504 return ((ConfigurationException) throwable).getErrorMessages(); in getMessagesFromThrowable()
551 throw new ConfigurationException(getMessages()); in throwConfigurationExceptionIfErrorsExist()
DMembersInjectorStore.java22 import com.google.inject.ConfigurationException;
89 } catch (ConfigurationException e) { in createWithListeners()
DConstructorBindingImpl.java26 import com.google.inject.ConfigurationException;
119 } catch (ConfigurationException e) { in create()
184 } catch (ConfigurationException ignored) { in getInternalDependencies()
/external/guice/core/test/com/google/inject/
DParentInjectorTest.java63 } catch (ConfigurationException e) { in testParentJitBindingWontClobberChildBinding()
122 } catch (ConfigurationException expected) { in testChildBindingsNotVisibleToParent()
195 } catch (ConfigurationException expected) { in testTypeConvertersConflicting()
235 } catch (ConfigurationException expected) { in testSeveralLayersOfHierarchy()
241 } catch (ConfigurationException expected) { in testSeveralLayersOfHierarchy()
259 } catch (ConfigurationException expected) { in testScopeBoundInChildInjectorOnly()
293 } catch (ConfigurationException expected) { in testErrorInParentAndChild()
DJitBindingsTest.java216 } catch (ConfigurationException expected) { in testJitGetFails()
251 } catch (ConfigurationException expected) { in testJitProviderGetFails()
702 } catch (ConfigurationException expected) { in ensureFails()
710 } catch (ConfigurationException expected) { in ensureFails()
723 } catch (ConfigurationException expected) { in ensureFails()
734 } catch (ConfigurationException expected) { in ensureFails()
747 } catch (ConfigurationException expected) { in ensureInChild()
755 } catch (ConfigurationException expected) { in ensureInChild()
763 } catch (ConfigurationException expected) { in ensureInChild()
DPrivateModuleTest.java197 } catch (ConfigurationException expected) { in testPrivateModulesAndProvidesMethods()
203 } catch (ConfigurationException expected) { in testPrivateModulesAndProvidesMethods()
390 } catch (ConfigurationException expected) { in testNestedPrivateModulesWithSomeKeysUnexposed()
396 } catch (ConfigurationException expected) { in testNestedPrivateModulesWithSomeKeysUnexposed()
616 } catch (ConfigurationException expected) { in testParentBindingToPrivateLinkedJitBinding()
636 } catch (ConfigurationException expected) { in testParentBindingToPrivateJitBinding()
DImplicitBindingTest.java97 } catch (ConfigurationException expected) { in testNoImplicitBindingIsCreatedForAnnotatedKeys()
177 } catch (ConfigurationException expected) { in assertFailure()
350 } catch (ConfigurationException expected) { in testRecursiveJitBindingsCleanupCorrectly()
430 } catch (ConfigurationException expected) { in testImplementedByEnum()
DTypeLiteralInjectionTest.java76 } catch (ConfigurationException expected) { in testInjectTypeLiteralWithRawTypes()
97 } catch (ConfigurationException expected) { in testInjectRawTypeLiteral()
DKeyTest.java204 } catch (ConfigurationException e) { in testCannotCreateKeysWithTypeVariables()
214 } catch (ConfigurationException e) { in testCannotCreateKeysWithTypeVariables()
224 } catch (ConfigurationException e) { in testCannotGetKeyWithUnspecifiedTypeVariables()
237 } catch (ConfigurationException e) { in testCannotCreateKeySubclassesWithUnspecifiedTypeVariables()
DTypeConversionTest.java190 } catch (ConfigurationException expected) { in testInvalidInteger()
220 } catch (ConfigurationException expected) { in testInvalidCharacter()
244 } catch (ConfigurationException expected) { in testInvalidEnum()
550 } catch (ConfigurationException expected) {
DMembersInjectorTest.java230 } catch (ConfigurationException expected) { in testInjectingMembersInjectorWithErrorsInDependencies()
269 } catch (ConfigurationException expected) { in testGettingRawMembersInjector()
280 } catch (ConfigurationException expected) { in testGettingAnnotatedMembersInjector()
DInjectorTest.java361 } catch (ConfigurationException expected) {
374 } catch (ConfigurationException expected) {
387 } catch (ConfigurationException expected) {
DBinderTestSuite.java558 } catch (ConfigurationException expected) { in test()
565 } catch (ConfigurationException expected) { in test()
572 } catch (ConfigurationException expected) { in test()
579 } catch (ConfigurationException expected) { in test()
593 } catch (ConfigurationException expected) { in test()
/external/guice/core/src/com/google/inject/spi/
DStaticInjectionRequest.java22 import com.google.inject.ConfigurationException;
66 public Set<InjectionPoint> getInjectionPoints() throws ConfigurationException { in getInjectionPoints()
DInjectionRequest.java22 import com.google.inject.ConfigurationException;
74 public Set<InjectionPoint> getInjectionPoints() throws ConfigurationException { in getInjectionPoints()
DInjectionPoint.java26 import com.google.inject.ConfigurationException;
96 } catch (ConfigurationException e) { in InjectionPoint()
121 } catch (ConfigurationException e) { in forMember()
285 throw new ConfigurationException(errors.getMessages()); in forConstructorOf()
292 throw new ConfigurationException(errors.getMessages()); in forConstructorOf()
345 throw new ConfigurationException(errors.getMessages()).withPartialValue(result); in forStaticMethodsAndFields()
380 throw new ConfigurationException(errors.getMessages()).withPartialValue(result); in forInstanceMethodsAndFields()
750 } catch (ConfigurationException ignorable) { in getInjectionPoints()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DBindingCollector.java20 import com.google.inject.ConfigurationException;
38 throw new ConfigurationException( in addBinding()
DFactoryProvider.java26 import com.google.inject.ConfigurationException;
206 throw new ConfigurationException(e.getErrors().getMessages()); in newFactory()
425 private static ConfigurationException newConfigurationException(String format, Object... args) { in newConfigurationException()
426 return new ConfigurationException(ImmutableSet.of(new Message(Errors.format(format, args)))); in newConfigurationException()
DParameter.java21 import com.google.inject.ConfigurationException;
107 } catch (ConfigurationException e) { in isBound()
/external/guice/extensions/struts2/src/com/google/inject/struts2/
DStruts2Factory.java25 import com.opensymphony.xwork2.config.ConfigurationException;
154 throws ConfigurationException { in buildInterceptor()
179 throws ConfigurationException { in superBuildInterceptor()
DGuiceObjectFactory.java28 import com.opensymphony.xwork2.config.ConfigurationException;
168 throws ConfigurationException { in buildInterceptor()
184 throws ConfigurationException { in superBuildInterceptor()
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java22 import com.google.inject.ConfigurationException;
79 } catch (ConfigurationException expected) { in testRewriteBindings()

12