Home
last modified time | relevance | path

Searched refs:getOnlyCause (Results 1 – 5 of 5) sorted by relevance

/external/guice/core/test/com/google/inject/
DProvisionExceptionsTest.java56 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorRuntimeException()
80 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorCheckedException()
111 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testCustomProvidersRuntimeException()
139 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodRuntimeException()
167 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodCheckedException()
/external/guice/core/src/com/google/inject/
DCreationException.java40 initCause(Messages.getOnlyCause(this.messages)); in CreationException()
DProvisionException.java42 initCause(Messages.getOnlyCause(this.messages)); in ProvisionException()
DConfigurationException.java40 initCause(Messages.getOnlyCause(this.messages)); in ConfigurationException()
/external/guice/core/src/com/google/inject/internal/
DMessages.java80 boolean displayCauses = getOnlyCause(errorMessages) == null; in formatMessages()
367 public static Throwable getOnlyCause(Collection<Message> messages) { in getOnlyCause() method in Messages