Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for ExecutionError (0.09 sec)

  1. 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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

    import com.google.common.base.Equivalence;
    import com.google.common.base.Ticker;
    import com.google.common.cache.AbstractCache.StatsCounter;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.util.concurrent.ExecutionError;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.AbstractCollection;
    import java.util.AbstractSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static <X extends Exception> void wrapAndThrowExceptionOrError(
          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.ExecutionError;
    import com.google.common.util.concurrent.ListenableFuture;
    import com.google.common.util.concurrent.SettableFuture;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top