/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SettableFutureTest.java | 56 assertTrue(future.setException(new Exception("failure"))); in testSetFailure() 62 future.setException(null); in testSetFailureNull() 67 assertTrue(future.setException(new Exception("failure"))); in testSetFailureNull()
|
D | AsyncSettableFutureTest.java | 50 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()
|
D | AbstractChainedListenableFutureTest.java | 61 inputFuture.setException(EXCEPTION); in testFutureGetThrowsWrappedException() 67 inputFuture.setException(error); in testFutureGetThrowsWrappedError()
|
D | AbstractFutureTest.java | 50 setException(failure); in testException() 125 future.setException(new IllegalArgumentException("failure")); in testCompletionFinishesWithDone()
|
D | FuturesTest.java | 878 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 …]
|
D | FutureCallbackTest.java | 60 f.setException(e); in testSameThreadExecutionException()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | EventWithExceptionTest.java | 78 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()
|
D | BreakpointOnCatchTest.java | 101 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSig, true, false); in requestExceptionCaughtEvent()
|
D | SingleStepWithPendingExceptionTest.java | 123 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in setCatchException()
|
D | ExceptionUncaughtTest.java | 190 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(EXCEPTION_SIGNATURE, in requestAndReceiveExceptionEvent()
|
D | CombinedExceptionEventsTest.java | 177 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in requestException()
|
D | ExceptionCaughtTest.java | 278 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSignature, in requestAndReceiveExceptionEvent()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SettableFuture.java | 67 public boolean setException(Throwable throwable) { in setException() method in SettableFuture 68 return super.setException(throwable); in setException()
|
D | Futures.java | 487 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 …]
|
D | AbstractFuture.java | 199 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
|
D | AsyncSettableFuture.java | 75 public boolean setException(Throwable exception) { in setException() method in AsyncSettableFuture
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/ |
D | DeoptimizationWithExceptionHandlingTest.java | 129 debuggeeWrapper.vmMirror.setException(exceptionClassSignature, true, false); in requestExceptionEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
D | ExceptionTest.java | 62 debuggeeWrapper.vmMirror.setException(exceptionSignature, isCatch, in testException001()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 184 setException(e); in runOnMainSyncNoThrow()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ServerSocketService.java | 210 future.setException(new Exception("The socket has been closed")); in shutDown()
|
D | ExperimentingCaliperRun.java | 297 delegate.setException(e.getCause()); in inCompletionOrder()
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | AbstractProducerTest.java | 113 delegateFuture.setException(t); in monitor_failure()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | FuturesCombineBenchmark.java | 133 future.setException(throwable);
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/ |
D | ProducerFactoryTest.java | 136 strFuture.setException(t); in failureMonitor()
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/ |
D | MonitoringTest.java | 135 server1Future.setException(cause); in basicMonitoringWithFailure()
|