changing the message

This commit is contained in:
gbidsilva 2023-08-30 19:21:31 +05:30
parent f0391ea0d3
commit e60b8aca83
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
try { try {
this.lexer.nextToken(this.reusableToken); this.lexer.nextToken(this.reusableToken);
} catch (IOException ioe) { } 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() + this.lexer.getCurrentLineNumber() + ", position: " + this.lexer.getCharacterPosition()
+ ", last parsed content: " + this.getLastParsedContent(); + ", last parsed content: " + this.getLastParsedContent();
throw new IOException(errorMessage, ioe); throw new IOException(errorMessage, ioe);