Home
last modified time | relevance | path

Searched refs:setException (Results 1 – 25 of 58) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSettableFutureTest.java56 assertTrue(future.setException(new Exception("failure"))); in testSetFailure()
62 future.setException(null); in testSetFailureNull()
67 assertTrue(future.setException(new Exception("failure"))); in testSetFailureNull()
DAsyncSettableFutureTest.java50 assertFalse(future.setException(new Exception("bar"))); in testSetValue()
61 assertTrue(future.setException(e)); in testSetException()
65 assertFalse(future.setException(new Exception("quux"))); in testSetException()
85 assertFalse(future.setException(new Exception("bar"))); in testSetFuture()
107 assertFalse(future.setException(new Exception("bar"))); in testSetFuture_genericsHierarchy()
DAbstractChainedListenableFutureTest.java61 inputFuture.setException(EXCEPTION); in testFutureGetThrowsWrappedException()
67 inputFuture.setException(error); in testFutureGetThrowsWrappedError()
DAbstractFutureTest.java50 setException(failure); in testException()
125 future.setException(new IllegalArgumentException("failure")); in testCompletionFinishesWithDone()
DFuturesTest.java878 future1.setException(exception);
924 future1.setException(error);
946 future2.setException(new Throwable("failed2"));
1176 delayedFailed.setException(new Exception());
1520 future1.setException(new Throwable("failed1"));
1541 future1.setException(new Throwable("failed1"));
1544 future2.setException(new Throwable("failed2"));
1688 future2.setException(new Throwable("failed2"));
1748 input.setException(failure);
1804 future.setException(new IOException("checked"));
[all …]
DFutureCallbackTest.java60 f.setException(e); in testSameThreadExecutionException()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventWithExceptionTest.java78 int exceptionRequestId = setException(); in testBreakpoint_BeforeException()
137 int exceptionRequestId = setException(); in testBreakpoint_UponException()
227 int exceptionRequestId = setException(); in runSingleStepTest()
298 int exceptionRequestId = setException(); in runFieldWatchpointTest()
358 int exceptionRequestId = setException(); in runMethodExitTest()
409 private int setException() { in setException() method in EventWithExceptionTest
412 debuggeeWrapper.vmMirror.setException(getClassSignature(EXCEPTION_CLASS), true, in setException()
DBreakpointOnCatchTest.java101 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSig, true, false); in requestExceptionCaughtEvent()
DSingleStepWithPendingExceptionTest.java123 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in setCatchException()
DExceptionUncaughtTest.java190 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(EXCEPTION_SIGNATURE, in requestAndReceiveExceptionEvent()
DCombinedExceptionEventsTest.java177 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in requestException()
DExceptionCaughtTest.java278 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSignature, in requestAndReceiveExceptionEvent()
/external/guava/guava/src/com/google/common/util/concurrent/
DSettableFuture.java67 public boolean setException(Throwable throwable) { in setException() method in SettableFuture
68 return super.setException(throwable); in setException()
DFutures.java487 setException(t); in FallbackFuture()
492 setException(e); in FallbackFuture()
641 outputFuture.setException(e); in rejectionPropagatingRunnable()
902 setException(e.getCause());
927 setException(e.getCause());
936 setException(e.getCause());
940 setException(t);
1042 outputFuture.setException(e.getCause());
1076 @Override protected void setException(Throwable t) {
1077 super.setException(t);
[all …]
DAbstractFuture.java199 protected boolean setException(Throwable throwable) { in setException() method in AbstractFuture
200 boolean result = sync.setException(checkNotNull(throwable)); in setException()
347 boolean setException(Throwable t) { in setException() method in AbstractFuture.Sync
DAsyncSettableFuture.java75 public boolean setException(Throwable exception) { in setException() method in AsyncSettableFuture
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/
DDeoptimizationWithExceptionHandlingTest.java129 debuggeeWrapper.vmMirror.setException(exceptionClassSignature, true, false); in requestExceptionEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DExceptionTest.java62 debuggeeWrapper.vmMirror.setException(exceptionSignature, isCatch, in testException001()
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java184 setException(e); in runOnMainSyncNoThrow()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DServerSocketService.java210 future.setException(new Exception("The socket has been closed")); in shutDown()
DExperimentingCaliperRun.java297 delegate.setException(e.getCause()); in inCompletionOrder()
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DAbstractProducerTest.java113 delegateFuture.setException(t); in monitor_failure()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesCombineBenchmark.java133 future.setException(throwable);
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
DProducerFactoryTest.java136 strFuture.setException(t); in failureMonitor()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/
DMonitoringTest.java135 server1Future.setException(cause); in basicMonitoringWithFailure()

123