}
if (record.size() > headerRow.size()) {
String errMsg = Messages.getFormattedString("CSVFileDAO.errorRowTooLarge", new String[]{
String.valueOf(currentRowNumber), String.valueOf(record.size()), String.valueOf(headerRow.size())});
throw new DataAccessRowException(errMsg);
}
Row row = new Row(record.size());
for (int i = 0; i < headerRow.size(); i++) {