record (int exitCode, @Nullable @NlsContexts.DialogMessage String message) { public static final CliResult OK = new CliResult(0, null); @Override public String toString() { return message == null ? String.valueOf(exitCode) : exitCode + ": " + message; } }