code: private static void logAndThrowException(String message, PyException e) throws Exception {
          LOGGER.error(message, e);
          throw new Exception(message + ":\n" + PythonHelper.getMessage(e));
      }
docs: Logs message and exception and throws Exception.
  
  @param message message
  @param e PyException
  @throws java.lang.Exception Exception built with 'message + ":\n" + message_of_e'