if (staticPageSvc.content(content)) {
list.add(content);
count++;
}
} catch (IOException e) {
throw new TemplateNotFoundException(
"content.tplContentNotFound", count, content.getTitle());
} catch (TemplateException e) {
throw new TemplateParseException("content.tplContentException",
count, content.getTitle());
}