docs: protected final HtmlTemplate findTemplate(final List<HtmlTemplate> pHtmlTemplates, final Long pId) throws Exception {
      for (HtmlTemplate tmpl : pHtmlTemplates) {
        if (tmpl.getItsId().equals(pId)) {
          return tmpl;
        }
      }
      throw new Exception("Algorithm error/or template deleted: template not found for ID" + pId);
    }