public static int getUncaughtExceptionsCount() {
    return handler.getUncaughtExceptionsCount();
  }
Sets the logging uncaught exception handler on the given thread.
geode-logging/src/main/java/org/apache/geode/logging/internal/executors/LoggingUncaughtExceptionHandler.java