NIHVIVO-1461 When template not found, propagate error message up the call stack

This commit is contained in:
rjy7 2011-02-11 19:20:51 +00:00
parent 34f042bc87
commit d030423d9c

View file

@ -89,7 +89,7 @@ public class TemplateProcessingHelper {
try { try {
template = config.getTemplate(templateName); template = config.getTemplate(templateName);
} catch (IOException e) { } catch (IOException e) {
throw new TemplateProcessingException("Cannot find template " + templateName, e); throw new TemplateProcessingException("Cannot find template " + templateName);
} }
return template; return template;
} }