code: private Template getTemplate(String templateName) throws ParseException {
      try {
        return config.getTemplate(templateName, "UTF-8");
      } catch (ParseException e) {
        throw e;
      } catch (IOException e) {
        logger.error("Couldn't load template '{}',loader is {}", templateName,
            config.getTemplateLoader().getClass());
        throw Throwables.propagate(e);
      }
    }
docs: Load template in hierarchical path
  
  @param templateName
  @throws Exception