code: public void addError(I_CmsXmlContentValue value, String message) {
  
          m_hasErrors = true;
          Locale locale = value.getLocale();
          Map<String, String> localeErrors = getLocalIssueMap(m_errors, locale);
          localeErrors.put(value.getPath(), message);
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(
                  Messages.get().getBundle().key(Messages.LOG_XMLCONTENT_VALIDATION_ERR_2, value.getPath(), message));
          }
      }
docs: Adds an error message to the internal list of errors,
  also raised the "has errors" flag.<p>
  
  @param value the value that contains the error
  @param message the error message to add