/guava/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
try { bestGetCheckedTypeValidator( ).validateClass( exceptionClass) ;
bestGetCheckedTypeValidator ( ) .validateClass ( exceptionClass ) ; try {
} } @CanIgnoreReturnValue @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { <extra_id_0> return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (TimeoutException e) { throw newWithCause(exceptionClass, e);