Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExecutionError (0.19 sec)

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

       * ExecutionError}.
       *
       * <p>For an uninterruptible {@code get} that preserves other exceptions, see {@link
       * Uninterruptibles#getUninterruptibly(Future)}.
       *
       * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with an
       *     {@code Exception} as its cause
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        ExecutionError expected = assertThrows(ExecutionError.class, () -> cache.get(new Object()));
        assertThat(expected).hasCauseThat().isSameInstanceAs(e);
        stats = cache.stats();
        assertEquals(1, stats.missCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        ExecutionError expected = assertThrows(ExecutionError.class, () -> cache.get(new Object()));
        assertThat(expected).hasCauseThat().isSameInstanceAs(e);
        stats = cache.stats();
        assertEquals(1, stats.missCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top