commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-201) Do not use RuntimeException in CSVParser.iterator().new Iterator() {...}.getNextRecord()
Date Tue, 25 Oct 2016 22:06:58 GMT

    [ https://issues.apache.org/jira/browse/CSV-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606615#comment-15606615
] 

Sebb commented on CSV-201:
--------------------------

I agree, why create a custom Exception? 
What benefit would it provide?

> Do not use RuntimeException in CSVParser.iterator().new Iterator() {...}.getNextRecord()
> ----------------------------------------------------------------------------------------
>
>                 Key: CSV-201
>                 URL: https://issues.apache.org/jira/browse/CSV-201
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.4
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.5
>
>
> Do not use {{RuntimeException}} in {{CSVParser.iterator().new Iterator() {...}.getNextRecord()}}.
> Thread started on the dev ML by [~britter].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message