Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit 9bde990

Browse files
committed
removing duplicated exception class name from error message
1 parent 9668d46 commit 9bde990

3 files changed

Lines changed: 307 additions & 228 deletions

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("Error in reading next record: " + e.toString(), e);
151151
}
152152
}
153153

0 commit comments

Comments
 (0)