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 {
|
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);
|
||||||
|
|
Loading…
Reference in New Issue