code: public static <T, R, E extends Exception> R uncheck(FunctionWithExceptions<T, R, E> function, T t) {
          try {
              return function.apply(t);
          } catch (Exception exception) {
              throwAsUnchecked(exception);
              return null;
          }
      }
docs: uncheck(Class::forName, "xxx");