commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18811] - Misleading error message in ConvertingWrapDynaBean
Date Fri, 11 Apr 2003 17:34:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18811

Misleading error message in ConvertingWrapDynaBean

mohankishore@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable



------- Additional Comments From mohankishore@yahoo.com  2003-04-11 17:34 -------
Index: ConvertingWrapDynaBean.java
===================================================================
RCS file: /home/cvspublic/jakarta-
commons/beanutils/src/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.j
ava,v
retrieving revision 1.4
diff -u -r1.4 ConvertingWrapDynaBean.java
--- ConvertingWrapDynaBean.java	2 Feb 2003 22:54:49 -0000	1.4
+++ ConvertingWrapDynaBean.java	11 Apr 2003 17:30:52 -0000
@@ -114,7 +114,7 @@
             BeanUtils.copyProperty(instance, name, value);
         } catch (Throwable t) {
             throw new IllegalArgumentException
-                    ("Property '" + name + "' has no write method");
+                    (t.getMessage());
         }
 
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message