code: protected I_CmsFormatterBean readFormatter(CmsUUID structureId) {
  
          I_CmsFormatterBean formatterBean = null;
          CmsResource formatterRes = null;
          try {
              formatterRes = m_cms.readResource(structureId);
              CmsFile formatterFile = m_cms.readFile(formatterRes);
              CmsFormatterBeanParser parser = new CmsFormatterBeanParser(m_cms, m_settingConfigs);
              CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, formatterFile);
              formatterBean = parser.parse(content, formatterRes.getRootPath(), "" + formatterRes.getStructureId());
          } catch (Exception e) {
  
              if (formatterRes == null) {
                  // normal case if resources get deleted, should not be written to the error channel
                  LOG.info("Could not read formatter with id " + structureId);
              } else {
                  LOG.error(
                      "Error while trying to read formatter configuration "
                          + formatterRes.getRootPath()
                          + ":    "
                          + e.getLocalizedMessage(),
                      e);
              }
          }
          return formatterBean;
      }
docs: Reads a formatter given its structure id and returns it, or null if the formatter couldn't be read.<p>
  
  @param structureId the structure id of the formatter configuration
  
  @return the formatter bean, or null if no formatter could be read for some reason