Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for ExecutionException (0.08 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.toString()).endsWith("[status=FAILURE, cause=[" + exception + "]]");
    
        ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(future));
        assertThat(expected.getCause()).isEqualTo(exception);
    
        expected = assertThrows(ExecutionException.class, () -> getDoneFromTimeoutOverload(future));
        assertThat(expected.getCause()).isEqualTo(exception);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.toString()).endsWith("[status=FAILURE, cause=[" + exception + "]]");
    
        ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(future));
        assertThat(expected.getCause()).isEqualTo(exception);
    
        expected = assertThrows(ExecutionException.class, () -> getDoneFromTimeoutOverload(future));
        assertThat(expected.getCause()).isEqualTo(exception);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * returns immediately.
         *
         * @throws CancellationException if the computation was cancelled
         * @throws ExecutionException if the computation threw an exception
         */
        @ParametricNullness
        public V get() throws ExecutionException {
          return getDone(state.future);
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
         * @throws ExecutionError if the loading thread throws an error
         */
        V waitForValue() throws ExecutionException;
    
        /** Returns the weight of this entry. This is assumed to be static between calls to setValue. */
        int getWeight();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.Test;
    import junit.framework.TestCase;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.Test;
    import junit.framework.TestCase;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top