views:

9

answers:

0

Hi guys!

Are there any ways to test for expected exceptions on an EJB3 session bean method. When I invoke the method the container (glassfish) correctly outputs that an IllegalArgumentException has been thrown, but on the client I am not able to catch any exception arising from that method invocation. Could it be that exceptions at this layer are not propagated outside the ejb layer?

any help appreciated...

philipp