db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6254) Reduce number of factory methods in StandardException
Date Mon, 10 Jun 2013 08:08:21 GMT

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

ASF subversion and git services commented on DERBY-6254:

Commit 1491366 from [~knutanders]
[ https://svn.apache.org/r1491366 ]

DERBY-6254: Reduce number of factory methods in StandardException

Generalize the factory methods by using varargs.
> 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:
>            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

View raw message