for (String cellClass : cellNames)
{
try
{
Class<?> dataClass = Class.forName(cellClass);
CustomCell annot = dataClass.getAnnotation(CustomCell.class);
if (customCells.containsKey(annot.value()))
{
throw new CruxGeneratorException("Duplicated CustomCell found: ["+annot.value()+"].");
}
customCells.put(annot.value(), dataClass.getCanonicalName());
}
catch (ClassNotFoundException e)
{
logger.error("Error initializing CustomCells.",e);
}