Merge pull request #348 from gbidsilva/errorMessageFix

Error message fix
This commit is contained in:
Gary Gregory 2023-08-30 08:39:57 -04:00 committed by GitHub
commit 008269a7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
try {
return CSVParser.this.nextRecord();
} catch (final IOException e) {
throw new UncheckedIOException(e.getClass().getSimpleName() + " reading next record: " + e.toString(), e);
throw new UncheckedIOException("Exception reading next record: " + e.toString(), e);
}
}