[
https://issues.apache.org/jira/browse/OWB-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Covener resolved OWB-305.
------------------------------
Resolution: Fixed
> exceptions become InvocationTargetException when propogated up interceptor
> stack
> --------------------------------------------------------------------------------
>
> Key: OWB-305
> URL: https://issues.apache.org/jira/browse/OWB-305
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Affects Versions: M3
> Reporter: Eric Covener
> Assignee: Eric Covener
> Fix For: M4
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Currently, each interceptor beans invocation is separated by calls to
> Method.invoke() which wraps checked exceptions in InvocationTargetException,
> but the interceptor spec says downstream interceptors must see the actual
> exception.
> We can pull the cause out of the InvocationTargetException back in
> InvocationContextImpl.proceeed() and throw the cause instead.
> This is needed for e.g.
> org.jboss.jsr299.tck.interceptors.tests.aroundInvoke.exception
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.