[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:45:25 EDT 2014


Aslak Knutsen created ARQ-1808:
----------------------------------

             Summary: 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


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