HomeSort by relevance Sort by last modified time
    Searched refs:CancellationException (Results 1 - 25 of 44) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/concurrent/
CancellationException.java 17 public class CancellationException extends IllegalStateException {
21 * Constructs a {@code CancellationException} with no detail message.
23 public CancellationException() {}
26 * Constructs a {@code CancellationException} with the specified detail
31 public CancellationException(String message) {
AbstractExecutorService.java 214 } catch (CancellationException ignore) {
259 } catch (CancellationException ignore) {
ForkJoinTask.java 16 import java.util.concurrent.CancellationException;
114 * returns a {@link java.util.concurrent.CancellationException}); and
118 * {@link java.util.concurrent.CancellationException}.
629 throw new CancellationException();
    [all...]
FutureTask.java 92 throw new CancellationException();
157 * @throws CancellationException {@inheritDoc}
167 * @throws CancellationException {@inheritDoc}
  /external/guava/guava/src/com/google/common/util/concurrent/
AbstractCheckedFuture.java 21 import java.util.concurrent.CancellationException;
46 * {@link CancellationException} or {@link ExecutionException} thrown by
73 * {@link CancellationException}, or {@link ExecutionException}
82 } catch (CancellationException e) {
101 * {@link CancellationException}, or {@link ExecutionException}
111 } catch (CancellationException e) {
CheckedFuture.java 21 import java.util.concurrent.CancellationException;
35 * {@code Future#get()}: {@link CancellationException},
57 * {@link InterruptedException}, {@link CancellationException} and
67 * translate {@link InterruptedException}, {@link CancellationException} and
AbstractFuture.java 21 import java.util.concurrent.CancellationException;
86 * @throws CancellationException {@inheritDoc}
107 * @throws CancellationException {@inheritDoc}
254 V get(long nanos) throws TimeoutException, CancellationException,
267 * successfully called. Throws a {@link CancellationException} if the task
271 V get() throws CancellationException, ExecutionException,
284 private V getValue() throws CancellationException, ExecutionException {
295 throw new CancellationException("Task was cancelled.");
AbstractListeningExecutorService.java 24 import java.util.concurrent.CancellationException;
164 } catch (CancellationException ignore) {
216 } catch (CancellationException ignore) {
Futures.java 43 import java.util.concurrent.CancellationException;
73 * {@link InterruptedException}, a {@link CancellationException}, or an
717 } catch (CancellationException e) {
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
FuturesTransformAsyncFunctionTest.java 24 import java.util.concurrent.CancellationException;
83 fail("Result future must throw CancellationException"
85 } catch (CancellationException expected) {}
94 fail("Result future must throw CancellationException"
96 } catch (CancellationException expected) {}
107 + " CancellationException");
108 } catch (CancellationException expected) {}
120 + " CancellationException");
121 } catch (CancellationException expected) {}
142 + " CancellationException");
    [all...]
ListenableFutureTester.java 24 import java.util.concurrent.CancellationException;
87 fail("Future should throw CancellationException on cancel.");
88 } catch (CancellationException expected) {}
FuturesTest.java 52 import java.util.concurrent.CancellationException;
656 } catch (CancellationException e) {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractListenableFutureTest.java 24 import java.util.concurrent.CancellationException;
142 } catch (CancellationException expected) {
181 } catch (CancellationException expected) {
  /external/guava/guava-testlib/src/com/google/common/testing/
GcFinalization.java 24 import java.util.concurrent.CancellationException;
130 } catch (CancellationException ok) {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAsyncTask.java 11 import java.util.concurrent.CancellationException;
39 } catch (CancellationException e) {
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
AsyncTask.java 27 import java.util.concurrent.CancellationException;
327 } catch (CancellationException e) {
502 * @throws CancellationException If the computation was cancelled.
520 * @throws CancellationException If the computation was cancelled.
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ResourceExtractor.java 26 import java.util.concurrent.CancellationException;
278 } catch (CancellationException e) {
  /frameworks/base/core/java/android/os/
AsyncTask.java 22 import java.util.concurrent.CancellationException;
302 } catch (CancellationException e) {
477 * @throws CancellationException If the computation was cancelled.
495 * @throws CancellationException If the computation was cancelled.
  /frameworks/support/v4/java/android/support/v4/content/
ModernAsyncTask.java 21 import java.util.concurrent.CancellationException;
139 } catch (CancellationException e) {
315 * @throws CancellationException If the computation was cancelled.
333 * @throws CancellationException If the computation was cancelled.
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
AsyncRunner.java 27 import java.util.concurrent.CancellationException;
  /frameworks/base/media/java/android/media/videoeditor/
VideoEditor.java 22 import java.util.concurrent.CancellationException;
377 * @throws CancellationException if export is canceled by calling
420 * @throws CancellationException if export is cancelled by calling
  /external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockAccountManager.java 37 import java.util.concurrent.CancellationException;
406 } catch (CancellationException e) {
  /frameworks/base/core/java/android/accounts/
AccountManager.java 41 import java.util.concurrent.CancellationException;
    [all...]
  /external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java 65 import java.util.concurrent.CancellationException;
    [all...]
  /frameworks/base/core/java/android/view/
ViewDebug.java 48 import java.util.concurrent.CancellationException;
    [all...]

Completed in 666 milliseconds

1 2