private static void logUncaughtException(Thread t, Throwable e) {
    if (!(e instanceof ControlFlowException)) {
      LOG.info("Uncaught exception in JavaFX " + t, e);
    }
  }
private static void logUncaughtException(Thread t, Throwable e)