[
https://issues.jboss.org/browse/JBAS-9450?page=com.atlassian.jira.plugin....
]
Martin Gold updated JBAS-9450:
------------------------------
Attachment: testejb.zip
Sample application (maven project) used to reproduce a bug.
Throwing exception annotated with @ApplicationException from bean
with Bean-Managed transaction is causing exception to be wrapped in EJBException
--------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-9450
URL:
https://issues.jboss.org/browse/JBAS-9450
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 6.1.0
Environment: Windows XP OS, JDK 1.6.0_15
Reporter: Martin Gold
Assignee: Carlo de Wolf
Attachments: testejb.zip
If exception (even if annotated with @ApplicationException) is thrown from stateless
session bean with Bean-Managed transaction
(@TransactionManagement(TransactionManagementType.BEAN)) then this exception is wrapped in
EJBException. This does not happened in JBoss 6.0.0.Final and it is also not happening for
beans with Container-managed transaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira