Searched refs:TimeoutException (Results 1 - 22 of 22) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DTimeoutException.java14 * not possible or desirable then {@code TimeoutException} should be
20 public class TimeoutException extends Exception { class in inherits:Exception
24 * Constructs a {@code TimeoutException} with no specified detail
27 public TimeoutException() {} method in class:TimeoutException
30 * Constructs a {@code TimeoutException} with the specified detail
35 public TimeoutException(String message) { method in class:TimeoutException
H A DFuture.java136 * @throws TimeoutException if the wait timed out
139 throws InterruptedException, ExecutionException, TimeoutException;
H A DCyclicBarrier.java167 TimeoutException {
224 throw new TimeoutException();
330 } catch (TimeoutException toe) {
361 * <p>If the specified waiting time elapses then {@link TimeoutException}
390 * @throws TimeoutException if the specified timeout elapses
400 TimeoutException {
H A DAbstractExecutorService.java112 throws InterruptedException, ExecutionException, TimeoutException {
153 throw new TimeoutException();
185 } catch (TimeoutException cannotHappen) {
193 throws InterruptedException, ExecutionException, TimeoutException {
261 } catch (TimeoutException toe) {
H A DExecutorService.java315 * @throws TimeoutException if the given timeout elapses before
323 throws InterruptedException, ExecutionException, TimeoutException;
H A DFutureTask.java170 throws InterruptedException, ExecutionException, TimeoutException {
176 throw new TimeoutException();
H A DPhaser.java10 import java.util.concurrent.TimeoutException;
754 * @throws TimeoutException if timed out while waiting
758 throws InterruptedException, TimeoutException {
771 throw new TimeoutException();
H A DExchanger.java575 * TimeoutException} is thrown. If the time is less than or equal
584 * @throws TimeoutException if the specified waiting time elapses
589 throws InterruptedException, TimeoutException {
599 throw new TimeoutException();
H A DExecutors.java616 throws InterruptedException, ExecutionException, TimeoutException {
H A DForkJoinTask.java22 import java.util.concurrent.TimeoutException;
982 * @throws TimeoutException if the wait timed out
985 throws InterruptedException, ExecutionException, TimeoutException {
1052 throw new TimeoutException();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DExchangerTest.java15 import java.util.concurrent.TimeoutException;
95 * timeout during wait for timed exchange throws TimeoutException
105 } catch (TimeoutException success) {}
H A DCyclicBarrierTest.java16 import java.util.concurrent.TimeoutException;
167 * A timeout in timed await throws TimeoutException
177 } catch (TimeoutException success) {}
204 } catch (TimeoutException success) {}
232 } catch (TimeoutException success) {}
404 } catch (TimeoutException success) {}
H A DJSR166TestCase.java456 } catch (TimeoutException success) {
1046 } catch (TimeoutException e) {
H A DFutureTaskTest.java18 import java.util.concurrent.TimeoutException;
762 * A timed out timed get throws TimeoutException
770 } catch (TimeoutException success) {
H A DPhaserTest.java15 import java.util.concurrent.TimeoutException;
471 public void realRun() throws TimeoutException {
H A DRecursiveActionTest.java19 import java.util.concurrent.TimeoutException;
79 } catch (TimeoutException success) {
H A DRecursiveTaskTest.java17 import java.util.concurrent.TimeoutException;
77 } catch (TimeoutException success) {
H A DForkJoinTaskTest.java16 import java.util.concurrent.TimeoutException;
76 } catch (TimeoutException success) {
H A DCountedCompleterTest.java17 import java.util.concurrent.TimeoutException;
79 } catch (TimeoutException success) {
H A DThreadPoolExecutorSubclassTest.java96 throws InterruptedException, ExecutionException, TimeoutException {
103 throw new TimeoutException();
H A DScheduledExecutorSubclassTest.java40 public V get(long time, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
/libcore/libart/src/main/java/java/lang/
H A DDaemons.java23 import java.util.concurrent.TimeoutException;
280 Exception syntheticException = new TimeoutException(message);

Completed in 702 milliseconds