public static <T> T throwingSupplierWrapper(ThrowingSupplier<T, Exception> throwingSupplier) {
    try {
      return throwingSupplier.get();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
Wrapper that moves all checked exceptions to RuntimeException.

@param throwingSupplier Supplier that throws Exception
@param <T>              Supplier return type
@return Supplier that throws unchecked exception
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java