In FHEJB p543, it said
My question is that it depends on the client is remote or local, if it is local client, yes, rethrow it as an EJBException. But if it is a remote client, I think it should be wrapped and rethrown as an RemoteException.
Correct me if I am wrong
[ April 18, 2004: Message edited by: Alibabra Sanjie ]
If your business logic catches an exception which the client is not expecting, wrap it and rethrow it as an EJBException.
My question is that it depends on the client is remote or local, if it is local client, yes, rethrow it as an EJBException. But if it is a remote client, I think it should be wrapped and rethrown as an RemoteException.
Correct me if I am wrong
[ April 18, 2004: Message edited by: Alibabra Sanjie ]