i would like to write cactus tests for a stateless session bean. some methods on the ejb throw application-specific exceptions. in some of my test cases, i would like to catch the application-specific exception and pass to make sure that case is correct. however, when the application-specific exception is thrown, it is wrapped in a org.jboss.util.NestedError. the nested error is the exception i want to catch. why does jboss do that? can i configure jboss so that the application-specific exception is thrown instead?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883036#3883036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883036 ------------------------------------------------------- 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
