Don't throw RuntimeException.

This commit is contained in:
Gary Gregory 2019-02-24 10:07:39 -05:00
parent 5bdafc6ce5
commit 574ed87b26
1 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ import org.junit.Test;
* in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you * in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
* create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior * create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior
* you want, you need to open a new CSVParser. * you want, you need to open a new CSVParser.
*
*/ */
@Ignore @Ignore
public class JiraCsv213Test { public class JiraCsv213Test {
@ -61,7 +60,7 @@ public class JiraCsv213Test {
return; return;
} }
} catch (final IOException e) { } catch (final IOException e) {
throw new RuntimeException("Error while adding end channel to csv", e); throw new IllegalStateException("Error while adding end channel to csv", e);
} }
return; return;