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] Closed: (BEANUTILS-189) [beanutils] copyProperties method should not exit as soon as it gets Exception
Date Tue, 26 Dec 2006 22:25:22 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-189?page=all ]

Henri Yandell closed BEANUTILS-189.
-----------------------------------

    Resolution: Won't Fix

Closing this WONTFIX - see previous comment.

> [beanutils] copyProperties method should not exit as soon as it gets Exception
> ------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-189
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-189
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: Bean / Property Utils
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Ian Howlett
>            Priority: Minor
>
> The copyProperties method in BeanUtils.java currently has trouble with EJBs
> because it exits as soon as an Exception is raised (often a
> java.lang.reflect.InvocationTargetException).
> Rather than exiting the method and throwing the Exception to the caller, the
> method should give a choice to swallow the exception for this field and move on
> to attempting the next field.
> This is trivial at the coding stage, requiring just a try/catch block inside the
> 'for' loop. Perhaps more tricky is designing the API to cope with this behavior
> whilst retaining backwards compatibility.

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