> > > > diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java > b/src/main/java/org/apache/commons/csv/CSVRecord.java > index 471e94d..e32cd5a 100644 > --- a/src/main/java/org/apache/commons/csv/CSVRecord.java > +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java > @@ -83,6 +83,12 @@ public final class CSVRecord implements Serializable, > Iterable<String> { > /** > * Returns a value by name. > * > + * <p>Note: This requires a field mapping obtained from the original > parser. > + * A check using {@link #isMapped(String)} should be used to > determine if a > + * mapping exists from the provide {@code name} to a field index. In > this case an > + * exception will only be thrown if the record does not contain a > field corresponding > + * to the mapping, that is the record length is not consistent with > the mapping size. > + * > * @param name > > Please close all HTML tags.
Gary