commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r821988 - /commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java
Date Mon, 05 Oct 2009 20:02:54 GMT
Author: rgoers
Date: Mon Oct  5 20:02:54 2009
New Revision: 821988

URL: http://svn.apache.org/viewvc?rev=821988&view=rev
Log:
Add the bean class name to the exception to help identify the problem

Modified:
    commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java

Modified: commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java?rev=821988&r1=821987&r2=821988&view=diff
==============================================================================
--- commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java
(original)
+++ commons/proper/configuration/branches/CONFIGURATION_390/src/java/org/apache/commons/configuration/beanutils/BeanHelper.java
Mon Oct  5 20:02:54 2009
@@ -263,7 +263,7 @@
         if (!PropertyUtils.isWriteable(bean, propName))
         {
             throw new ConfigurationRuntimeException("Property " + propName
-                    + " cannot be set!");
+                    + " cannot be set on " + bean.getClass().getName());
         }
 
         try



Mime
View raw message