You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Joe Bergmark (JIRA)" <ji...@apache.org> on 2011/04/06 22:58:06 UTC

[jira] [Resolved] (OWB-554) DelegateHandler wraps Beans exceptions

     [ https://issues.apache.org/jira/browse/OWB-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bergmark resolved OWB-554.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1.1)
                   1.2.0

> DelegateHandler wraps Beans exceptions
> --------------------------------------
>
>                 Key: OWB-554
>                 URL: https://issues.apache.org/jira/browse/OWB-554
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>    Affects Versions: 1.0.0
>            Reporter: Joe Bergmark
>            Assignee: Joe Bergmark
>             Fix For: 1.2.0
>
>
> Right now DelegateHandler catches InvocationExceptions and re-wraps them in WebBeanExceptions.
> There may be cases where the bean DelegateHandler was calling wanted to throw an exception upstream (for example, an EJB) and we should instead be unwrapping the InvocationException and re-throwing that rather than wrapping it again.
> This behavior has been there for some time, so I don't see this as a blocker for 1.1.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira