Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cancellationExceptionWithCause (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // While this seems like it might be too branch-y, simple benchmarking proves it to be
        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
          throw cancellationExceptionWithCause("Task was cancelled.", ((Cancellation) obj).cause);
        } else if (obj instanceof Failure) {
          throw new ExecutionException(((Failure) obj).exception);
        } else if (obj == NULL) {
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top