code: public static void handleException(ExceptionHandler exceptionHandler, ProgressStatus progressStatus, Exception e, String message) {
          ProcessingLibraryException exception = new ProcessingLibraryException(message, e, progressStatus);
          exceptionHandler.handleException(exception);
      }
docs: A wrapper function of handling exceptions that have a known root cause, such as {@link AmazonServiceException}.
  @param exceptionHandler the {@link ExceptionHandler} to handle exceptions.
  @param progressStatus the current progress status {@link ProgressStatus}.
  @param e the exception needs to be handled.
  @param message the exception message.