0

I'm using SuperCSV-2.3.1.

Is it possible to have a custom error msg to attach to a cell-processor, so when it fails validation, we get the custom msg in the exception?

Thanks.

pka
  • 183
  • 6
  • 13

1 Answers1

0

Yes, but only if you write your own cell processors (see this related question)

Community
  • 1
  • 1
James Bassett
  • 9,458
  • 4
  • 35
  • 68
  • I understand i could do it with custom cell-processor, but overriding 5-6 type of processors (for now, but who knows later), just for a custom message seems overkill, where as the cell-processor constructor could accept a msg instead, and be kept in the base processor. – pka Aug 22 '15 at 11:27