Hello!

Can anyone recommend a way to implement error reporting?

For example, when I use "call.invoke(args)", a java.rmi.RemoteException  is 
thrown regardless of whether the connection could not even be established 
(java.net.ConnectionException)  or there was an exception thrown at server 
side (NullPointerException, for instance)
Both result in the same faultCode (when downcasted to AxisFault): 
({http://xml.apache.org/axis/}Server.userException)
The only way to tell the difference is by parsing faultString. Is there a 
better solution to this problem?

Ideally, one should be able to throw MyException on server side and catch the 
exception on client side. How could this be achieved?

What other possibilities are there to distinguish between errors?
-- 
Matthias Brunner <[EMAIL PROTECTED]>
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc

Reply via email to