Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for executionError (0.09 sec)

  1. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        assertThat(expected).hasCauseThat().isEqualTo(UNCHECKED_EXCEPTION);
      }
    
      public void testGetCheckedUntimed_executionExceptionError() throws TwoArgConstructorException {
        ExecutionError expected =
            assertThrows(
                ExecutionError.class,
                () -> getChecked(FAILED_FUTURE_ERROR, TwoArgConstructorException.class));
        assertThat(expected).hasCauseThat().isEqualTo(ERROR);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

                () -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION));
        assertEquals(UNCHECKED_EXCEPTION, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionError() {
        ExecutionError expected =
            assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR));
        assertEquals(ERROR, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionOtherThrowable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

                () -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION));
        assertEquals(UNCHECKED_EXCEPTION, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionError() {
        ExecutionError expected =
            assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR));
        assertEquals(ERROR, expected.getCause());
      }
    
      public void testGetUnchecked_executionExceptionOtherThrowable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  9. 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)
  10. 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