forcedotcom / wsc

Other
271 stars 221 forks source link

Line No is not getting printed in CSVParseException in CSVReader class #224

Open balwinderkumar opened 6 years ago

balwinderkumar commented 6 years ago

If there is any exception in record while parsing, line is not appearing in exception message, as CSVParseException is not appending the line no. to exception message.

CSVParseException(String message, int lineno) { super(message); recordNumber = lineno; }

this method should be CSVParseException(String message, int lineno) { recordNumber = lineno; super(message+" at line "+recordNumber); }

wkloster commented 3 years ago

s. https://github.com/forcedotcom/wsc/pull/253