code: public static void convert(Task task, Function<Throwable, RuntimeException> function) {
          try {
              task.run();
          } catch (Throwable e) {
              throw function.apply(e);
          }
      }
docs: 异常转换，将checked异常转换为runtime异常
  @param task 执行函数
  @param function 转换器
  @return 函数执行结果