You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/03/24 20:34:05 UTC

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

    [ https://issues.apache.org/jira/browse/OWB-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010869#comment-13010869 ] 

Mark Struberg commented on OWB-554:
-----------------------------------

fix version 1.2 is fine - txs!

> 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