[jboss-jira] [JBoss JIRA] (WFLY-3600) TransactionRolledbackException doesn't reference the originating runtime-exception

Stuart Douglas (JIRA) issues at jboss.org
Wed Jan 7 18:07:30 EST 2015


    [ https://issues.jboss.org/browse/WFLY-3600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030700#comment-13030700 ] 

Stuart Douglas commented on WFLY-3600:
--------------------------------------

I don't think this is actually possible, we are required to throw TransactionRolledbackException by spec, and this exception explicitly disallows initialising a cause. 

> TransactionRolledbackException doesn't reference the originating runtime-exception
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-3600
>                 URL: https://issues.jboss.org/browse/WFLY-3600
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Wolf-Dieter Fink
>            Assignee: David Lloyd
>
> If a RuntimeException is thrown by a business method this gets lost during propagation to the client.
> The client is not able in this case to react appropriate to the cause.
> Similar issue was fixed for the Local invocation, see AS7-5432



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list