code: private void abortWithError(Element element, String msg, Object... args) throws AbortProcessingException {
          error(element, msg, args);
          throw new AbortProcessingException();
      }
docs: Issue a compilation error and abandon the processing of this template. This does not prevent the
  processing of other templates.