Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for UncheckedExecutionException (0.13 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

    import com.google.common.base.Function;
    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.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(exceptionLoader(e));
    
        UncheckedExecutionException uee =
            assertThrows(UncheckedExecutionException.class, () -> map.getUnchecked(new Object()));
        assertThat(uee).hasCauseThat().isSameInstanceAs(e);
        assertTrue(listener.isEmpty());
        checkEmpty(map);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/NullCacheTest.java

            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(exceptionLoader(e));
    
        UncheckedExecutionException uee =
            assertThrows(UncheckedExecutionException.class, () -> map.getUnchecked(new Object()));
        assertThat(uee).hasCauseThat().isSameInstanceAs(e);
        assertTrue(listener.isEmpty());
        checkEmpty(map);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      public void testGetCheckedUntimed_executionExceptionUnchecked()
          throws TwoArgConstructorException {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class,
                () -> getChecked(FAILED_FUTURE_UNCHECKED_EXCEPTION, TwoArgConstructorException.class));
        assertThat(expected).hasCauseThat().isEqualTo(UNCHECKED_EXCEPTION);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            CacheBuilder.newBuilder().build(exceptionLoader(ee));
    
        UncheckedExecutionException caughtUee =
            assertThrows(UncheckedExecutionException.class, () -> cacheUnchecked.get(new Object()));
        assertThat(caughtUee).hasCauseThat().isSameInstanceAs(uee);
    
        caughtUee =
            assertThrows(
                UncheckedExecutionException.class, () -> cacheUnchecked.getUnchecked(new Object()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          restoreInterruptIfIsInterruptedException(e);
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/AbstractLoadingCache.java

    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          restoreInterruptIfIsInterruptedException(e);
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.primitives.Primitives;
    import com.google.common.reflect.TypeToken;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import com.google.j2objc.annotations.Weak;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top