}
//validate this feature
monitor.subTask(++position + "/" + count); //$NON-NLS-1$
SimpleFeature feature = (SimpleFeature) reader.next();
try {
validator.validate(feature, type, results);
} catch (Throwable e) {
results.error(feature, e.getMessage());
}
monitor.worked(1);
}