db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6254) Reduce number of factory methods in StandardException
Date Mon, 10 Jun 2013 01:46:20 GMT

    [ 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

Mime
View raw message