Home
last modified time | relevance | path

Searched refs:ExecutionException (Results 1 – 25 of 59) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutionException.java47 public class ExecutionException extends Exception { class
55 protected ExecutionException() { } in ExecutionException() method in ExecutionException
64 protected ExecutionException(String message) { in ExecutionException() method in ExecutionException
76 public ExecutionException(String message, Throwable cause) { in ExecutionException() method in ExecutionException
89 public ExecutionException(Throwable cause) { in ExecutionException() method in ExecutionException
DAbstractExecutorService.java154 throws InterruptedException, ExecutionException, TimeoutException { in doInvokeAny()
173 ExecutionException ee = null; in doInvokeAny()
205 } catch (ExecutionException eex) { in doInvokeAny()
208 ee = new ExecutionException(rex); in doInvokeAny()
214 ee = new ExecutionException(); in doInvokeAny()
223 throws InterruptedException, ExecutionException { in invokeAny()
234 throws InterruptedException, ExecutionException, TimeoutException { in invokeAny()
253 catch (CancellationException | ExecutionException ignore) {} in invokeAll()
290 catch (CancellationException | ExecutionException ignore) {} in invokeAll()
DFuture.java146 V get() throws InterruptedException, ExecutionException; in get()
163 throws InterruptedException, ExecutionException, TimeoutException; in get()
DExecutorService.java332 throws InterruptedException, ExecutionException; in invokeAny()
359 throws InterruptedException, ExecutionException, TimeoutException; in invokeAny()
DFutureTask.java116 private V report(int s) throws ExecutionException { in report()
122 throw new ExecutionException((Throwable)x); in report()
187 public V get() throws InterruptedException, ExecutionException { in get()
198 throws InterruptedException, ExecutionException, TimeoutException { in get()
DForkJoinTask.java609 ex = new ExecutionException(ex); in reportExecutionException()
982 public final V get() throws InterruptedException, ExecutionException { in get()
1004 throws InterruptedException, ExecutionException, TimeoutException { in get()
1050 throws InterruptedException, ExecutionException { in getForPoolInvoke()
1057 throws InterruptedException, ExecutionException, TimeoutException { in getForPoolInvoke()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DExecutionExceptionTest.java22 import java.util.concurrent.ExecutionException;
32 private class TestExecutionException extends ExecutionException {
46 ExecutionException exception = new TestExecutionException(); in testConstructNoMessage()
56 ExecutionException exception = new TestExecutionException("test"); in testConstructWithMessage()
67 ExecutionException exception = new ExecutionException("test", cause); in testConstructWithMessageAndCause()
/libcore/ojluni/src/main/java/sun/nio/ch/
DCompletedFuture.java30 import java.util.concurrent.ExecutionException;
67 public V get() throws ExecutionException { in get()
69 throw new ExecutionException(exc); in get()
74 public V get(long timeout, TimeUnit unit) throws ExecutionException { in get()
78 throw new ExecutionException(exc); in get()
DPendingFuture.java176 public V get() throws ExecutionException, InterruptedException { in get()
185 throw new ExecutionException(exc); in get()
192 throws ExecutionException, InterruptedException, TimeoutException in get()
202 throw new ExecutionException(exc); in get()
/libcore/ojluni/src/main/java/sun/nio/fs/
DCancellable.java29 import java.util.concurrent.ExecutionException;
119 static void runInterruptibly(Cancellable task) throws ExecutionException { in runInterruptibly()
135 throw new ExecutionException(exc); in runInterruptibly()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorCompletionServiceTest.java43 import java.util.concurrent.ExecutionException;
110 throws InterruptedException, ExecutionException { in testTake()
132 throws InterruptedException, ExecutionException { in testPoll1()
152 throws InterruptedException, ExecutionException { in testPoll2()
172 throws InterruptedException, ExecutionException { in testPollReturnsNull()
193 throws InterruptedException, ExecutionException { in testTaskAssortment()
208 catch (ExecutionException expected) { in testTaskAssortment()
DExecutorCompletionService9Test.java44 import java.util.concurrent.ExecutionException;
62 throws InterruptedException, ExecutionException { in solveAll()
90 } catch (ExecutionException ignore) {} in solveAny()
111 throws InterruptedException, ExecutionException { in testSolveAll()
DAbstractExecutorServiceTest.java49 import java.util.concurrent.ExecutionException;
188 } catch (ExecutionException success) { in testSubmitFailedPrivilegedExceptionAction()
260 } catch (ExecutionException success) { in testSubmitEE()
320 } catch (ExecutionException success) { in testInvokeAny4()
393 } catch (ExecutionException success) { in testInvokeAll4()
486 } catch (ExecutionException success) { in testTimedInvokeAny4()
578 } catch (ExecutionException success) {
DFutureTaskTest.java47 import java.util.concurrent.ExecutionException;
81 } catch (ExecutionException t) { in checkIsDone()
96 } catch (ExecutionException t) { in checkIsDone()
177 } catch (ExecutionException success) { in checkCompletedAbnormally()
184 } catch (ExecutionException success) { in checkCompletedAbnormally()
351 } catch (ExecutionException success) { in testSetException_get()
359 } catch (ExecutionException success) { in testSetException_get()
716 } catch (ExecutionException success) { in testGet_ExecutionException()
737 } catch (ExecutionException success) { in testTimedGet_ExecutionException2()
DForkJoinPoolTest.java45 import java.util.concurrent.ExecutionException;
551 } catch (ExecutionException success) { in testSubmitFailedPrivilegedExceptionAction()
624 } catch (ExecutionException success) { in testSubmitEE()
700 } catch (ExecutionException success) { in testInvokeAny5()
775 } catch (ExecutionException success) { in testInvokeAll4()
869 } catch (ExecutionException success) { in testTimedInvokeAny4()
963 } catch (ExecutionException success) {
/libcore/ojluni/src/test/java/util/Random/
DRandomStreamTest.java36 import java.util.concurrent.ExecutionException;
131 …public void testThreadLocalIntStream() throws InterruptedException, ExecutionException, TimeoutExc… in testThreadLocalIntStream()
137 …public void testThreadLocalLongStream() throws InterruptedException, ExecutionException, TimeoutEx… in testThreadLocalLongStream()
143 …public void testThreadLocalDoubleStream() throws InterruptedException, ExecutionException, Timeout… in testThreadLocalDoubleStream()
148 …ltSupplierConcurrently(Supplier<T> s) throws InterruptedException, ExecutionException, TimeoutExce… in testRandomResultSupplierConcurrently()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java51 private V report(int s) throws java.util.concurrent.ExecutionException { in report()
67 public V get() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException { in get()
72 throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, in get()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java23 import java.util.concurrent.ExecutionException;
165 } catch (ExecutionException success) { in testSubmitFailedPrivilegedExceptionAction()
237 } catch (ExecutionException success) { in testSubmitEE()
297 } catch (ExecutionException success) { in testInvokeAny4()
370 } catch (ExecutionException success) { in testInvokeAll4()
463 } catch (ExecutionException success) { in testTimedInvokeAny4()
555 } catch (ExecutionException success) {
DFutureTaskTest.java21 import java.util.concurrent.ExecutionException;
58 } catch (ExecutionException t) { in checkIsDone()
73 } catch (ExecutionException t) { in checkIsDone()
154 } catch (ExecutionException success) { in checkCompletedAbnormally()
161 } catch (ExecutionException success) { in checkCompletedAbnormally()
328 } catch (ExecutionException success) { in testSetException_get()
336 } catch (ExecutionException success) { in testSetException_get()
693 } catch (ExecutionException success) { in testGet_ExecutionException()
714 } catch (ExecutionException success) { in testTimedGet_ExecutionException2()
DForkJoinPoolTest.java19 import java.util.concurrent.ExecutionException;
533 } catch (ExecutionException success) { in testSubmitFailedPrivilegedExceptionAction()
606 } catch (ExecutionException success) { in testSubmitEE()
682 } catch (ExecutionException success) { in testInvokeAny5()
757 } catch (ExecutionException success) { in testInvokeAll4()
851 } catch (ExecutionException success) { in testTimedInvokeAny4()
945 } catch (ExecutionException success) {
DForkJoinTaskTest.java17 import java.util.concurrent.ExecutionException;
195 } catch (ExecutionException success) {
202 } catch (ExecutionException success) {
573 } catch (ExecutionException success) {
593 } catch (ExecutionException success) {
1321 } catch (ExecutionException success) {
1341 } catch (ExecutionException success) {
DScheduledExecutorSubclassTest.java21 import java.util.concurrent.ExecutionException;
70 public V get() throws InterruptedException, ExecutionException { in get()
75 …public V get(long time, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutExc… in get()
971 } catch (ExecutionException success) { in testInvokeAny4()
1044 } catch (ExecutionException success) { in testInvokeAll4()
1137 } catch (ExecutionException success) { in testTimedInvokeAny4()
1229 } catch (ExecutionException success) {
DForkJoinPool8Test.java15 import java.util.concurrent.ExecutionException;
169 } catch (ExecutionException success) { in checkCompletedAbnormally()
176 } catch (ExecutionException success) { in checkCompletedAbnormally()
467 } catch (ExecutionException success) { in testAbnormalForkGet()
487 } catch (ExecutionException success) { in testAbnormalForkTimedGet()
1135 } catch (ExecutionException success) { in testAbnormalForkGetCC()
1155 } catch (ExecutionException success) { in testAbnormalForkTimedGetCC()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java43 import java.util.concurrent.ExecutionException;
241 } catch (ExecutionException ee) { in newInputStream()
313 } catch (ExecutionException ee) {
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousServerSocketChannelTest.java38 import java.util.concurrent.ExecutionException;
252 } catch(ExecutionException expected) { in test_close()
301 } catch(ExecutionException expected) { in test_future_concurrent_close()

123