2013/4/8 Gary Gregory <[email protected]> > Like what? IllegalArgumentException would seem OK. >
Agreed, I'll add that to trunk. Benedikt > > Gary > > > On Mon, Apr 8, 2013 at 2:15 PM, Benedikt Ritter <[email protected]> > wrote: > > > Hi, > > > > Gary has already added the isConsistent() method to CSVRecord to give > users > > a possibility to check if a CSVRecord's values have the same length as > the > > headers array. Are we satisfied with this solution for CSV-96 [1]? > > One thing I'd like to do is convert the ArrayOutOfBoundsExpcetion that > may > > be thrown from get(String) into something that is a bit more expressive > in > > the context of CSVRecords. How do you feel about this? There should be no > > impact on performance. > > > > Regards, > > Benedikt > > > > [1] https://issues.apache.org/jira/browse/CSV-96 > > > > -- > > http://people.apache.org/~britter/ > > http://www.systemoutprintln.de/ > > http://twitter.com/BenediktRitter > > http://github.com/britter > > > > > > -- > E-Mail: [email protected] | [email protected] > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter
