normalizedRow.getColumn(whichCol));
} catch (StandardException se) {
// Catch illegal null insert and add column info
if (se.getMessageId().startsWith(SQLState.LANG_NULL_INTO_NON_NULL))
{
ResultColumnDescriptor columnDescriptor =
resultDescription.getColumnDescriptor(whichCol);
throw
StandardException.newException(SQLState.LANG_NULL_INTO_NON_NULL,
columnDescriptor.getName());
}
//just rethrow if not LANG_NULL_INTO_NON_NULL
throw se;
}