guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
private static boolean hasConstructorUsableByGetChecked(
      Class<? extends Exception> exceptionClass) {
    try {
      Exception unused = newWithCause(exceptionClass, new Exception());
      return true;
    } catch (Exception e) {
      return false;
    }
  }
private static boolean hasConstructorUsableByGetChecked(
      Class<? extends Exception> exceptionClass) {
    try {
      Exception unused = newWithCause(exceptionClass, new Exception());
      return true;
    } catch (Exception e) {
      return false;
    }
  }
private static boolean hasConstructorUsableByGetChecked ( Class < ? extends Exception > exceptionClass ) { try { Exception unused = newWithCause ( exceptionClass , new Exception ( ) ) ; return true ; } catch ( Exception e ) { return false ; } }
/*
TODO(user): FutureChecker interface for these to be static methods on? If so, refer to it in
the (static-method) Futures.getChecked documentation
/ * TODO ( user ) : FutureChecker interface for these to be static methods on? If so refer to it in the ( static - method ) Futures . getChecked documentation