} catch (NullPointerException e) {
throw new TemplateFileNotFoundException(path + " file not found.", e);
} catch (FileNotFoundException e) {
throw new TemplateFileNotFoundException(path + " file not found.", e);
} catch (Exception e) {
throw new TemplateFileAccessException("Problem with " + path + " file.", e);
}
}