default void runAndWrapException(int value) {
    try {
      accept(value);
    } catch (Exception e) {
      throwFatalException(e);
    }
  }
A function that takes an integer can throw checked exceptions.
planetiler-core/src/main/java/com/onthegomap/planetiler/worker/IntConsumerThatThrows.java