[weld-issues] [JBoss JIRA] Updated: (WELD-747) Decorators should unwrap the exception thrown by delegates
Peter Miklos (JIRA)
jira-events at lists.jboss.org
Sat Nov 27 13:31:30 EST 2010
[ https://jira.jboss.org/browse/WELD-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Miklos updated WELD-747:
------------------------------
Attachment: weld-decorator-testcase.zip
Attached a test case for this bug.
There is a failing test in the project which tests if the given exception is thrown.
The reason will be:
java.lang.Exception: Unexpected exception, expected<org.example.CustomException> but was<java.lang.reflect.InvocationTargetException>
The test can be quickly executed with maven:
mvn test
> Decorators should unwrap the exception thrown by delegates
> ----------------------------------------------------------
>
> Key: WELD-747
> URL: https://jira.jboss.org/browse/WELD-747
> Project: Weld
> Issue Type: Bug
> Components: Interceptors and Decorators
> Affects Versions: 1.1.0.Beta2
> Reporter: Marius Bogoevici
> Fix For: 1.1.0.Beta3
>
> Attachments: weld-decorator-testcase.zip
>
>
> Currently, a wrapper InvocationTargetException is thrown instead.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list