private static void wrapExceptions(ThrowableRunnable<Throwable> runnable) {
    try {
      runnable.run();
    }
    catch (Throwable ex) {
      throw new IllegalStateException(ex);
    }
  }
private static void wrapExceptions(ThrowableRunnable<Throwable> runnable)