private void abort(Throwable t) { try { // Inform the process manager that we are shutting down on purpose // so it doesn't try to respawn us // FIXME implement abort() throw new UnsupportedOperationException("implement me"); // if (t != null) { // t.printStackTrace(System.err); // } } finally { SystemExiter.exit(1); } }
public static ServerManager create( String[] args, InputStream stdin, PrintStream stdout, PrintStream stderr, Exiter exiter) { Main main = new Main(); SystemExiter.initialize(exiter); return main.boot(args, stdin, stdout, stderr); }