docs: public boolean hasError() {
  
          A_CmsReportThread thread = OpenCms.getThreadStore().retrieveThread(m_paramThread);
          if (thread != null) {
              return thread.hasError();
          } else {
              return false;
          }
      }