{
getComparator().validate(path.columnName);
}
catch (Exception e)
{
throw new MarshalException("Invalid column name in " + path.columnFamilyName + " for " + getComparator().getClass().getName());
}
column = new Column(path.columnName, value, timestamp, deleted);
}
else
{
assert isSuper();
try
{
getComparator().validate(path.superColumnName);
}
catch (Exception e)
{
throw new MarshalException("Invalid supercolumn name in " + path.columnFamilyName + " for " + getComparator().getClass().getName());
}
column = new SuperColumn(path.superColumnName, getSubComparator());
column.addColumn(new Column(path.columnName, value, timestamp, deleted)); // checks subcolumn name
}
addColumn(column);