[jboss-user] [EJB3] - Re: Why application exceptions are wrapped in EJBException on AS 6.1?

Carlo de Wolf do-not-reply at jboss.com
Thu Nov 10 03:56:34 EST 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111110/b03e9d50/attachment.html 


More information about the jboss-user mailing list