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