Builder setStartupExceptionAction(Consumer<Throwable> startupExceptionAction) {
      this.startupExceptionAction = startupExceptionAction;
      return this;
    }
Sets the action to run when server startup completes with errors.

@param startupExceptionAction the action to run
@return this builder
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java