commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEANUTILS-41) [beanutils] Provide better error message for "No value specified"
Date Tue, 31 Oct 2006 08:28:17 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-41?page=all ]

Henri Yandell updated BEANUTILS-41:
-----------------------------------

    Bugzilla Id:   (was: 37947)

I think this should be dealt with in 1.8.0.

> [beanutils] Provide better error message for "No value specified"
> -----------------------------------------------------------------
>
>                 Key: BEANUTILS-41
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-41
>             Project: Commons BeanUtils
>          Issue Type: Bug
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ralf Hauser
>             Fix For: 1.8.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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