commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-666) Add convenience ctor ConfigurationRuntimeException(String, Object...)
Date Thu, 27 Apr 2017 06:28:04 GMT
Gary Gregory created CONFIGURATION-666:
------------------------------------------

             Summary: 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)

Mime
View raw message