Skip to content

Commit 574ed87

Browse files
author
Gary Gregory
committed
Don't throw RuntimeException.
1 parent 5bdafc6 commit 574ed87

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
* in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
3737
* create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior
3838
* you want, you need to open a new CSVParser.
39-
*
4039
*/
4140
@Ignore
4241
public class JiraCsv213Test {
@@ -61,7 +60,7 @@ private void createEndChannel(final File csvFile) {
6160
return;
6261
}
6362
} catch (final IOException e) {
64-
throw new RuntimeException("Error while adding end channel to csv", e);
63+
throw new IllegalStateException("Error while adding end channel to csv", e);
6564
}
6665

6766
return;

0 commit comments

Comments
 (0)