/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 …]
|
/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 | 100 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSig, true, false); in requestExceptionCaughtEvent()
|
D | SingleStepWithPendingExceptionTest.java | 123 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in setCatchException()
|
D | ExceptionUncaughtTest.java | 191 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(EXCEPTION_SIGNATURE, in requestAndReceiveExceptionEvent()
|
D | CombinedExceptionEventsTest.java | 177 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in requestException()
|
D | ExceptionCaughtTest.java | 279 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/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | StreamRecorder.java | 64 firstValue.setException(t); in onError() 73 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | StreamRecorder.java | 69 firstValue.setException(t); in onError() 78 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
|
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/ |
D | ClientCalls.java | 476 responseFuture.setException( in onClose() 482 responseFuture.setException(status.asRuntimeException(trailers)); in onClose() 506 protected boolean setException(Throwable throwable) { in setException() method in ClientCalls.GrpcFuture 507 return super.setException(throwable); in setException()
|
/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 | 63 debuggeeWrapper.vmMirror.setException(exceptionSignature, isCatch, in testException001()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 200 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()
|
/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/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyClientTransportTest.java | 445 pingResult.setException(cause); in failingToConstructChannelShouldFailGracefully() 699 closedFuture.setException(e); in closed() 700 responseFuture.setException(e); in closed()
|