This content has been marked as final.
Show 1 reply
-
1. Re: User defined exception being hidden by rmi.ServerExcepti
haraldgliebe May 31, 2003 6:37 AM (in response to eddlsda)The EJB-Spec requires that a RuntimeExceptions thrown in an EJB results in a RemoteException on the client side. Since the ServerException is a subclass of RemoteException this behaviour is correct. If you make your user defined a checked application exception you'll get the original exception in the client, but must call setRollbackOnly yourself to rollback you transactions.
Regards,
Harald