[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-2262) When throwing an application exception in a method that is annotated with NOT_SUPPORTED it should not wrap the application Exception.

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Sep 12 05:28:26 EDT 2011


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

Carlo de Wolf commented on EJBTHREE-2262:
-----------------------------------------

MyException in stateless_00500318.zip does not have an @ApplicationException annotation.
Once you set that annotation, the original exception is correctly reported to the client.
So it falls into EJBTHREE-2261.

> 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

        


More information about the jboss-jira mailing list