Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkExceptionClassValidity (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

           */
          private static final ClassValue<Boolean> isValidClass =
              new ClassValue<Boolean>() {
                @Override
                protected Boolean computeValue(Class<?> type) {
                  checkExceptionClassValidity(type.asSubclass(Exception.class));
                  return true;
                }
              };
    
          @Override
          public void validateClass(Class<? extends Exception> exceptionClass) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    import static com.google.common.util.concurrent.Futures.immediateFailedFuture;
    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static com.google.common.util.concurrent.FuturesGetChecked.checkExceptionClassValidity;
    import static com.google.common.util.concurrent.FuturesGetChecked.getChecked;
    import static com.google.common.util.concurrent.FuturesGetChecked.isCheckedException;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

              if (exceptionClass.equals(knownGood.get())) {
                return;
              }
              // TODO(cpovirk): if reference has been cleared, remove it?
            }
            checkExceptionClassValidity(exceptionClass);
    
            /*
             * It's very unlikely that any loaded Futures class will see getChecked called with more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top