115116117118119120121122
log.debug("Rendered ["+renderTemplate.getId()+"] in "+renderTime+" secs"); } catch (Exception ex) { // wrap and rethrow so caller can deal with it throw new RenderingException("Error during rendering", ex); } }
124125126127128129130131
if(renderer != null) { return renderer; } } throw new RenderingException("No renderer found for template "+ template.getId()+"!"); }