I have a stateless session bean with a method that may throw application 
exceptions.  i also have a cactus test to test the throwing of application 
exception.  when the application's thrown, it's wrapped in a NestedError, so 
that the catch (applicationException e) block fails to catch it.

when i look at rethrow(Exception e) method of org.jboss.ejb.Container, it only 
wraps an exception inside a NestedError when the exception is an instance of 
InvocationTargetException.  but my application exception is not...or not that i 
know of.  how do i make the container throw the application exception instead 
of InvocationTargetException?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883054#3883054

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883054


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to