[arquillian-issues] [JBoss JIRA] (ARQ-1808) The original cause of Exception in container is lost if exception is of type InvocationTargetException

Aslak Knutsen (JIRA) issues at jboss.org
Thu Jun 26 18:51:24 EDT 2014


     [ https://issues.jboss.org/browse/ARQ-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen resolved ARQ-1808.
--------------------------------

    Fix Version/s: 1.1.6.Final
       Resolution: Done


pushed upstream https://github.com/arquillian/arquillian-core/commit/4b388320fadee67e8630004628f6f3a9aa8d27b7

> The original cause of Exception in container is lost if exception is of type InvocationTargetException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ARQ-1808
>                 URL: https://issues.jboss.org/browse/ARQ-1808
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Base Implementation
>    Affects Versions: 1.1.5.Final
>            Reporter: Aslak Knutsen
>            Assignee: Aslak Knutsen
>             Fix For: 1.1.6.Final
>
>
> As oppose to most other Exceptions, InvocationTargetException does not use the cause field as the cause of the InvocationTargetException, rather it uses target.
> When the ExceptionProxy recreates the Exceptions from the container side on the client side, the actual cause of the InvocationTargetException is lost. 
> The only cause you get is something like: Could not create ManagerImpl.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the arquillian-issues mailing list