[jboss-jira] [JBoss JIRA] (AS7-5926) EJB system exceptions not wrapped as EJBException when tx attribute NEVER

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Dec 4 17:22:21 EST 2012


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

Stuart Douglas resolved AS7-5926.
---------------------------------

    Fix Version/s: 7.2.0.Alpha1
                   7.1.4.Final (EAP)
       Resolution: Done

    
> EJB system exceptions not wrapped as EJBException when tx attribute NEVER 
> --------------------------------------------------------------------------
>
>                 Key: AS7-5926
>                 URL: https://issues.jboss.org/browse/AS7-5926
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.2.0.CR1
>            Reporter: Cheng Fang
>            Assignee: Stuart Douglas
>             Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
>
>         Attachments: test.war
>
>
> EJB spec has requirements that system exceptions be wrapped as EJBException before throwing it to the client.
> The problem I'm seeing is, when the ejb business method has tx attribute NEVER, any runtime exceptions thrown from the method currently are directly propagated to the client.
> The exception handling should work with all types of tx attributes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list