Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isCheckedException (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    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;
    import static com.google.common.util.concurrent.FuturesGetChecked.weakSetValidator;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          return null;
        }
      }
    
      @VisibleForTesting
      static boolean isCheckedException(Class<? extends Exception> type) {
        return !RuntimeException.class.isAssignableFrom(type);
      }
    
      @VisibleForTesting
      static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) {
        checkArgument(
            isCheckedException(exceptionClass),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top