code: public static <T extends Throwable> void printHistoryAndExit(final String message, final T th, final PrintStream stream) {
          printHistory(new CouldNotPerformException(message, th), new SystemPrinter(stream));
          if (JPService.testMode()) {
              assert false;
              return;
          }
          exit(255);
      }
docs: Print Exception messages without stack trace in non debug mode and call system exit afterwards. Method prints recursive all messages of the given exception stack to get a history overview of the causes.
  In verbose mode (app -v) the stacktrace is printed in the end of history. The given message and the exception are bundled as new CouldNotPerformException and further processed.
  After printing the system exit routine with error code 255 is triggered.
  
  @param <T> Exception type
  @param message the reason why this exception occurs.
  @param th the exception cause.
  @param stream the stream used for printing the message history e.g. System.out or. System.err