if (articleInCategoryFromPathID.size()!=0) {
throw new GenericErrorException("There is already an article "+title+" in the category for the path " + categoryPath);
}
Content article = aContent(title, alias, content, link, path, uniqueCategoryId,description,keywords);
System.out.println(article);
try {
LOGGER.info("Creating article {} in {}",title,categoryPath);
getHibernateTemplate().save(JoomlaDslUtils.sanytize(article));