You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2013/06/10 03:46:20 UTC

[jira] [Commented] (DERBY-6254) Reduce number of factory methods in StandardException

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

Dag H. Wanvik commented on DERBY-6254:
--------------------------------------

Good simplification! +1

                
> Reduce number of factory methods in StandardException
> -----------------------------------------------------
>
>                 Key: DERBY-6254
>                 URL: https://issues.apache.org/jira/browse/DERBY-6254
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: derby-6254-01-a.diff
>
>
> StandardException has many factory methods for creating exceptions and warnings. For example, there are newException() methods for 0 to 8 message arguments. A single method taking a vararg argument could replace those nine methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira