code: protected void error(String message, Element source, Throwable cause) {
      logger.error(message);
    }
docs: Report an error with the given message for the given source element.
  
  @param message a {@link java.lang.String} object.
  @param source a {@link org.w3c.dom.Element} object.
  @param cause a {@link java.lang.Throwable} object.