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 37947] New: - provide better error message for "No value specified"
Date Sat, 17 Dec 2005 08:17:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37947>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37947

           Summary: provide better error message for "No value specified"
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


Got <<org.apache.commons.beanutils.ConversionException: No value specified
        at
org.apache.commons.beanutils.converters.SqlDateConverter.convert(SqlDateConverter.java:103)
        at
org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:444)
        at
org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:261)
        at
org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:114)>>
 
Suggestion:
1) cite the propName and the bean className
   this probably implies that the interface
     org.apache.commons.beanutils.Converter.convert(Class type, Object value)
   is extended to 
     org.apache.commons.beanutils.Converter.convert(Class type, Object value,
                                        String propName, String beanClassName)
2) also cite the concerned class name (probably java.sql.Date) 
3) mention that there is the possibility to use a default value

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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