Home
last modified time | relevance | path

Searched refs:ExecutionException (Results 1 – 25 of 53) 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.java149 throws InterruptedException, ExecutionException, TimeoutException { in doInvokeAny()
168 ExecutionException ee = null; in doInvokeAny()
200 } catch (ExecutionException eex) { in doInvokeAny()
203 ee = new ExecutionException(rex); in doInvokeAny()
209 ee = new ExecutionException(); in doInvokeAny()
218 throws InterruptedException, ExecutionException { in invokeAny()
229 throws InterruptedException, ExecutionException, TimeoutException { in invokeAny()
249 catch (ExecutionException ignore) {} in invokeAll()
287 catch (ExecutionException ignore) {} in invokeAll()
DFuture.java152 V get() throws InterruptedException, ExecutionException; in get()
169 throws InterruptedException, ExecutionException, TimeoutException; in get()
DExecutorService.java332 throws InterruptedException, ExecutionException; in invokeAny()
359 throws InterruptedException, ExecutionException, TimeoutException; in invokeAny()
DFutureTask.java117 private V report(int s) throws ExecutionException { in report()
123 throw new ExecutionException((Throwable)x); in report()
189 public V get() throws InterruptedException, ExecutionException { in get()
200 throws InterruptedException, ExecutionException, TimeoutException { in get()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DExecutionExceptionTest.java22 import java.util.concurrent.ExecutionException;
31 private class TestExecutionException extends ExecutionException {
45 ExecutionException exception = new TestExecutionException(); in testConstructNoMessage()
55 ExecutionException exception = new TestExecutionException("test"); in testConstructWithMessage()
66 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) {
DForkJoinPool8Test.java41 import java.util.concurrent.ExecutionException;
193 } catch (ExecutionException success) { in checkCompletedAbnormally()
200 } catch (ExecutionException success) { in checkCompletedAbnormally()
485 } catch (ExecutionException success) { in testAbnormalForkGet()
505 } catch (ExecutionException success) { in testAbnormalForkTimedGet()
1153 } catch (ExecutionException success) { in testAbnormalForkGetCC()
1173 } catch (ExecutionException success) { in testAbnormalForkTimedGetCC()
DScheduledExecutorSubclassTest.java47 import java.util.concurrent.ExecutionException;
92 public V get() throws InterruptedException, ExecutionException { in get()
97 …public V get(long time, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutExc… in get()
993 } catch (ExecutionException success) { in testInvokeAny4()
1066 } catch (ExecutionException success) { in testInvokeAll4()
1159 } catch (ExecutionException success) { in testTimedInvokeAny4()
1251 } catch (ExecutionException success) {
/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) {
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()
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) {
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java42 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