changing the message
This commit is contained in:
parent
f0391ea0d3
commit
e60b8aca83
|
@ -811,7 +811,7 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
|
|||
try {
|
||||
this.lexer.nextToken(this.reusableToken);
|
||||
} catch (IOException ioe) {
|
||||
String errorMessage = "An error occurred while tying to parse the CSV content. Error in line: "
|
||||
String errorMessage = "An exception occurred while tying to parse the CSV content. Issue in line: "
|
||||
+ this.lexer.getCurrentLineNumber() + ", position: " + this.lexer.getCharacterPosition()
|
||||
+ ", last parsed content: " + this.getLastParsedContent();
|
||||
throw new IOException(errorMessage, ioe);
|
||||
|
|
Loading…
Reference in New Issue