Home
last modified time | relevance | path

Searched refs:Throwables (Results 1 – 25 of 49) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/base/
DThrowablesTest.java19 import static com.google.common.base.Throwables.getStackTraceAsString;
43 Throwables.propagateIfPossible(t); in testPropagateIfPossible_NoneDeclared_NoneThrown()
59 Throwables.propagateIfPossible(t); in testPropagateIfPossible_NoneDeclared_UncheckedThrown()
79 Throwables.propagateIfPossible(t); in testPropagateIfPossible_NoneDeclared_UndeclaredThrown()
102 Throwables.propagateIfPossible(t, SomeCheckedException.class); in testPropagateIfPossible_OneDeclared_NoneThrown()
119 Throwables.propagateIfPossible(t, SomeCheckedException.class); in testPropagateIfPossible_OneDeclared_UncheckedThrown()
139 Throwables.propagateIfPossible(t, SomeCheckedException.class); in testPropagateIfPossible_OneDeclared_CheckedThrown()
160 Throwables.propagateIfPossible(t, SomeCheckedException.class); in testPropagateIfPossible_OneDeclared_UndeclaredThrown()
182 Throwables.propagateIfPossible(t, SomeCheckedException.class, in testPropagateIfPossible_TwoDeclared_NoneThrown()
201 Throwables.propagateIfPossible(t, SomeCheckedException.class, in testPropagateIfPossible_TwoDeclared_UncheckedThrown()
[all …]
/external/guava/guava/src/com/google/common/io/
DCloser.java23 import com.google.common.base.Throwables;
148 Throwables.propagateIfPossible(e, IOException.class); in rethrow()
170 Throwables.propagateIfPossible(e, IOException.class); in rethrow()
171 Throwables.propagateIfPossible(e, declaredType); in rethrow()
194 Throwables.propagateIfPossible(e, IOException.class); in rethrow()
195 Throwables.propagateIfPossible(e, declaredType1, declaredType2); in rethrow()
225 Throwables.propagateIfPossible(throwable, IOException.class); in close()
/external/junit/src/main/java/org/junit/internal/
DThrowables.java9 public final class Throwables { class
11 private Throwables() { in Throwables() method in Throwables
34 Throwables.<Exception>rethrow(e); in rethrowAsException()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterChainInvocation.java18 import com.google.common.base.Throwables;
100 Throwables.propagateIfInstanceOf(t, ServletException.class); in doFilter()
101 Throwables.propagateIfInstanceOf(t, IOException.class); in doFilter()
102 throw Throwables.propagate(t); in doFilter()
DGuiceFilter.java19 import com.google.common.base.Throwables;
142 Throwables.propagate(e); in doFilter()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractIdleService.java21 import com.google.common.base.Throwables;
58 throw Throwables.propagate(t);
73 throw Throwables.propagate(t);
DAbstractScheduledService.java24 import com.google.common.base.Throwables;
183 throw Throwables.propagate(t);
205 throw Throwables.propagate(t);
234 throw Throwables.propagate(t);
DAbstractExecutionThreadService.java21 import com.google.common.base.Throwables;
77 throw Throwables.propagate(t);
DWrappingExecutorService.java21 import com.google.common.base.Throwables;
72 Throwables.propagate(e); in wrapTask()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHandler.java31 import com.google.common.base.Throwables;
55 Throwables.propagate(th);
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java21 import com.google.common.base.Throwables;
34 this(Throwables.getStackTraceAsString(e)); in FailureLogMessage()
/external/junit/src/main/java/org/junit/runners/model/
DMultipleFailureException.java7 import org.junit.internal.Throwables;
57 throw Throwables.rethrowAsException(errors.get(0)); in assertEmpty()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialRunLoop.java29 import com.google.common.base.Throwables;
176 Throwables.propagateIfInstanceOf(e, TrialFailureException.class); in call()
184 throw Throwables.propagate(e); in call()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DForwardingObjectTester.java20 import com.google.common.base.Throwables;
66 throw Throwables.propagate(e); in testForwardingObject()
/external/owasp/sanitizer/src/main/org/owasp/html/examples/
DSlashdotPolicyExample.java43 import com.google.common.base.Throwables;
107 Throwables.propagate(ex); // System.out suppresses IOExceptions in main()
DEbayPolicyExample.java43 import com.google.common.base.Throwables;
223 Throwables.propagate(ex); // System.out suppresses IOExceptions in main()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DExamplesTest.java37 import com.google.common.base.Throwables;
68 Throwables.propagate(ex); in testExamplesRun()
DHtmlSanitizerFuzzerTest.java37 import com.google.common.base.Throwables;
146 Throwables.propagate(failure); in testFuzzHtmlParser()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSourceFileGenerator.java20 import com.google.common.base.Throwables;
65 Throwables.propagateIfPossible(e, SourceFileGenerationException.class); in generate()
/external/guava/guava/src/com/google/common/base/
DThrowables.java42 public final class Throwables { class
43 private Throwables() {} in Throwables() method in Throwables
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DTlsTest.java22 import com.google.common.base.Throwables;
226 Throwables.getStackTraceAsString(e), in serverRejectsUntrustedClientCert()
267 Throwables.getStackTraceAsString(e), in noClientAuthFailure()
312 Throwables.getStackTraceAsString(e), in clientRejectsUntrustedServerCert()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2OkHttpTest.java23 import com.google.common.base.Throwables;
153 Throwable cause = Throwables.getRootCause(actualThrown); in wrongHostNameFailHostnameVerification()
201 Throwable cause = Throwables.getRootCause(actualThrown); in hostnameVerifierWithCorrectHostname()
/external/guava/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java26 import com.google.common.base.Throwables;
115 throw Throwables.propagate(e); in getMostConcreteMethods()
218 throw Throwables.propagate(e.getCause()); in testInteraction()
/external/guice/core/test/com/google/inject/
DProvisionExceptionTest.java28 import com.google.common.base.Throwables;
375 String e1 = Throwables.getStackTraceAsString(exception1); in testMultipleDuplicates()
376 String e2 = Throwables.getStackTraceAsString(exception2); in testMultipleDuplicates()
/external/guava/guava/src/com/google/common/eventbus/
DAnnotatedSubscriberFinder.java20 import com.google.common.base.Throwables;
85 throw Throwables.propagate(e.getCause()); in getAnnotatedMethods()

12