commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r681804 - /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
Date Fri, 01 Aug 2008 19:59:00 GMT
Author: oheger
Date: Fri Aug  1 12:58:59 2008
New Revision: 681804

URL: http://svn.apache.org/viewvc?rev=681804&view=rev
Log:
Make ConfigurationDynaBean compilable again under Java 1.3+. Exception chaining for IllegalArgumentException
was introduced in Java 1.5.

Modified:
    commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java

Modified: commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java?rev=681804&r1=681803&r2=681804&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
(original)
+++ commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
Fri Aug  1 12:58:59 2008
@@ -169,7 +169,7 @@
         }
         catch (ConversionException e)
         {
-            throw new IllegalArgumentException("Property '" + name + "' is not indexed.",
e);
+            throw new IllegalArgumentException("Property '" + name + "' is not indexed.");
         }
     }
 
@@ -226,7 +226,7 @@
         }
         catch (ConversionException e)
         {
-            throw new IllegalArgumentException("Property '" + name + "' is not indexed.",
e);
+            throw new IllegalArgumentException("Property '" + name + "' is not indexed.");
         }
     }
 



Mime
View raw message