Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion

"Re: Why application exceptions are wrapped in EJBException on AS 6.1?"

To view the discussion, visit: http://community.jboss.org/message/635880#635880

--------------------------------------------------------------
Nice work.

You may want to use the ExtendedAdvisor:
if (ExtendedAdvisorHelper.getExtendedAdvisor(advisor).isAnnotationPresent(ex, 
ApplicationException.class))
{
   throw ex;
}


The ExtendedAdvisor also takes descriptor metadata into account.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/635880#635880]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to