Home
last modified time | relevance | path

Searched refs:propagateIfInstanceOf (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DThrowables.java60 public static <X extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf() method in Throwables
83 propagateIfInstanceOf(throwable, Error.class); in propagateIfPossible()
84 propagateIfInstanceOf(throwable, RuntimeException.class); in propagateIfPossible()
108 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
130 propagateIfInstanceOf(throwable, declaredType1); in propagateIfPossible()
/external/guava/guava-tests/test/com/google/common/base/
DThrowablesTest.java349 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_NoneThrown()
365 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_DeclaredThrown()
386 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_UncheckedThrown()
407 Throwables.propagateIfInstanceOf(t, SomeCheckedException.class); in testPropagateIfInstanceOf_UndeclaredThrown()
423 Throwables.propagateIfInstanceOf(null, SomeCheckedException.class); in testPropageIfInstanceOf_null()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkClass.java20 import static com.google.common.base.Throwables.propagateIfInstanceOf;
156 propagateIfInstanceOf(e.getCause(), SkipThisScenarioException.class); in callSetUp()
170 propagateIfInstanceOf(e.getCause(), SkipThisScenarioException.class); in callTearDown()
DAllocationInstrument.java21 import static com.google.common.base.Throwables.propagateIfInstanceOf;
106 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
147 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
DArbitraryMeasurementInstrument.java20 import static com.google.common.base.Throwables.propagateIfInstanceOf;
98 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
DRuntimeInstrument.java26 import static com.google.common.base.Throwables.propagateIfInstanceOf;
146 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
186 propagateIfInstanceOf(userException, SkipThisScenarioException.class); in dryRun()
DTrialRunLoop.java176 Throwables.propagateIfInstanceOf(e, TrialFailureException.class); in call()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterChainInvocation.java100 Throwables.propagateIfInstanceOf(t, ServletException.class); in doFilter()
101 Throwables.propagateIfInstanceOf(t, IOException.class); in doFilter()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java888 Throwables.propagateIfInstanceOf(cause, ComputationException.class); in get()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java19 import static com.google.common.base.Throwables.propagateIfInstanceOf;
1331 propagateIfInstanceOf(e.getCause(), ExecutionException.class);
1332 propagateIfInstanceOf(e.getCause(), CancellationException.class);