Hi all!
I´ve a WL5 server (EJB1.1) where are deployed some session stateless EJB´s. In the public methods can throw two kinds of exceptions: the required java.rmi.RemoteException; and my particular exception (UserNotFoundException). The last one is thrown when the user is not registered.
The UserNotFoundException extends java.lang.Exception.
I´ve got a client that must work with those EJB´s. If when it calls the EJB all is correct there´s no problem. But when a problem occurs and the EJB throw my particular exception then can be seen two situations:
When the client is local it catches UserNotFoundException. But when the client is remote it catches java.lang.NullPointerException. The protocol used is IIOP.
Why can´t my remote client catch the UserNotFoundException.
Thanx in regards.