You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/04/27 06:32:04 UTC

[jira] [Closed] (CONFIGURATION-666) Add convenience ctor ConfigurationRuntimeException(String, Object...)

     [ https://issues.apache.org/jira/browse/CONFIGURATION-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed CONFIGURATION-666.
--------------------------------------
    Resolution: Fixed

In svn trunk:
{noformat}
commit -m "[CONFIGURATION-666"] Add convenience ctor ConfigurationRuntimeException(String, Object...)." -N C:/vcs/svn/apache/commons/trunks-proper/configuration/src/changes/changes.xml C:/vcs/svn/apache/commons/trunks-proper/configuration/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java C:/vcs/svn/apache/commons/trunks-proper/configuration/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java
    Sending        C:/vcs/svn/apache/commons/trunks-proper/configuration/src/changes/changes.xml
    Sending        C:/vcs/svn/apache/commons/trunks-proper/configuration/src/main/java/org/apache/commons/configuration2/BaseHierarchicalConfiguration.java
    Sending        C:/vcs/svn/apache/commons/trunks-proper/configuration/src/main/java/org/apache/commons/configuration2/ex/ConfigurationRuntimeException.java
    Transmitting file data ...
    Unknown action received: commit finalizing
    Committed revision 1792842.
{noformat}

> Add convenience ctor ConfigurationRuntimeException(String, Object...)
> ---------------------------------------------------------------------
>
>                 Key: CONFIGURATION-666
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-666
>             Project: Commons Configuration
>          Issue Type: Improvement
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 2.2
>
>
> Add convenience ctor ConfigurationRuntimeException(String, Object...):
> {code:java}
>     /**
>      * Constructs a new {@code ConfigurationRuntimeException} with
>      * specified detail message using {@link String#format(String,Object...)}.
>      *
>      * @param message  the error message
>      * @param args arguments to the error message
>      * @see String#format(String,Object...)
>      */
>     public ConfigurationRuntimeException(String message, Object... args)
>     {
>         super(String.format(message, args));
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)