[
https://issues.jboss.org/browse/EJBTHREE-2262?page=com.atlassian.jira.plu...
]
Shaun Appleton updated EJBTHREE-2262:
-------------------------------------
Steps to Reproduce:
run attached code (based on the EJB3 tutorial)
set JBOSS_HOME first
ant
run up eap
ant run
observe ERROR [STDERR] javax.ejb.EJBException:
org.jboss.tutorial.stateless.bean.MyException: Alert! Alert! in EAP log
was:run attached code (based on the EJB3 tutorial)
When throwing an application exception in a method that is annotated
with NOT_SUPPORTED it should not wrap the application Exception.
-------------------------------------------------------------------------------------------------------------------------------------
Key: EJBTHREE-2262
URL:
https://issues.jboss.org/browse/EJBTHREE-2262
Project: EJB 3.0
Issue Type: Bug
Reporter: Shaun Appleton
Attachments: stateless_00500318.zip
When throwing an application exception in a method that is annotated with NOT_SUPPORTED
it should not wrap the application Exception.
What currently happen is that it is wrapped in an EJBException instead of being thrown
un-wrapped.
See Table 14 p361. of jsr-220 spec
This has been tested on EAP 5.1.0
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira