commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1416263 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
Date Sun, 02 Dec 2012 21:17:10 GMT
Author: oheger
Date: Sun Dec  2 21:17:09 2012
New Revision: 1416263

URL: http://svn.apache.org/viewvc?rev=1416263&view=rev
Log:
Allowed some internal methods to throw an exception.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java?rev=1416263&r1=1416262&r2=1416263&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/BasicConfigurationBuilder.java
Sun Dec  2 21:17:09 2012
@@ -526,8 +526,10 @@ public class BasicConfigurationBuilder<T
      *
      * @return the {@code BeanDeclaration} for dynamically creating a result
      *         object
+     * @throws ConfigurationException if an error occurs
      */
     protected synchronized final BeanDeclaration getResultDeclaration()
+            throws ConfigurationException
     {
         if (resultDeclaration == null)
         {
@@ -564,9 +566,10 @@ public class BasicConfigurationBuilder<T
      *
      * @param params a snapshot of the current initialization parameters
      * @return the {@code BeanDeclaration} for creating result objects
+     * @throws ConfigurationException if an error occurs
      */
     protected BeanDeclaration createResultDeclaration(
-            final Map<String, Object> params)
+            final Map<String, Object> params) throws ConfigurationException
     {
         return new BeanDeclaration()
         {



Mime
View raw message