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/03/24 19:43:05 UTC

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

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

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

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Joe Bergmark (JIRA)" <ji...@apache.org>.
     [ 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