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 ) ; } }
Load template in hierarchical path