We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb59ea9 + 3d6fc92 commit cece564Copy full SHA for cece564
src/main/java/org/culturegraph/mf/stream/converter/CsvDecoder.java
@@ -69,7 +69,10 @@ public void process(final String string) {
69
}
70
getReceiver().endRecord();
71
}else{
72
- throw new IllegalArgumentException("wrong number of columns in input line: " + string);
+ throw new IllegalArgumentException(
73
+ String.format(
74
+ "wrong number of columns (expected %s, was %s) in input line: %s",
75
+ header.length, parts.length, string));
76
77
78
getReceiver().startRecord(String.valueOf(++count));
0 commit comments