Skip to content

Commit 008269a

Browse files
authored
Merge pull request #348 from gbidsilva/errorMessageFix
Error message fix
2 parents 87529de + dbc418b commit 008269a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private CSVRecord getNextRecord() {
147147
try {
148148
return CSVParser.this.nextRecord();
149149
} catch (final IOException e) {
150-
throw new UncheckedIOException(e.getClass().getSimpleName() + " reading next record: " + e.toString(), e);
150+
throw new UncheckedIOException("Exception reading next record: " + e.toString(), e);
151151
}
152152
}
153153

0 commit comments

Comments
 (0)