/** * Terminates JVM with exit code: 1 - failed termination but not an abort situation. */ private static void fail(){ SystemExiter.abort(ExitCodes.FAILED); }
/** * Terminates JVM with exit code: 1 - failed termination but not an abort situation. */ private static void fail(){ SystemExiter.abort(ExitCodes.FAILED); }
private static void abort() { SystemExiter.abort(ExitCodes.HOST_CONTROLLER_ABORT_EXIT_CODE); }
private static void abort() { SystemExiter.abort(ExitCodes.HOST_CONTROLLER_ABORT_EXIT_CODE); }
private static void abort(Throwable t) { try { if (t != null) { t.printStackTrace(STDERR); } } finally { SystemExiter.abort(ExitCodes.FAILED); } }
private static void abort(Throwable t) { try { if (t != null) { t.printStackTrace(STDERR); } } finally { SystemExiter.abort(ExitCodes.FAILED); } }
} catch (IOException e) { e.printStackTrace(); SystemExiter.abort(ExitCodes.FAILED); throw new IllegalStateException(); // not reached } catch (Throwable t) { t.printStackTrace(initialError); SystemExiter.abort(ExitCodes.FAILED); throw new IllegalStateException(); // not reached SystemExiter.logAndExit(ServerLogger.ROOT_LOGGER::shuttingDownInResponseToProcessControllerSignal, ExitCodes.NORMAL); } else { SystemExiter.abort(ExitCodes.FAILED);
} catch (IOException e) { e.printStackTrace(); SystemExiter.abort(ExitCodes.FAILED); throw new IllegalStateException(); // not reached } catch (Throwable t) { t.printStackTrace(initialError); SystemExiter.abort(ExitCodes.FAILED); throw new IllegalStateException(); // not reached SystemExiter.logAndExit(ServerLogger.ROOT_LOGGER::shuttingDownInResponseToProcessControllerSignal, ExitCodes.NORMAL); } else { SystemExiter.abort(ExitCodes.FAILED);