Hi All,
 
Ive been trying to figure out the best way of doing exception / error handling. If someone could give me some guidance it would be much appreciated. Ive made some assumptions from reading various docs - please correct me. Im using Axis 1.1 (Java), + latest Tomcat.
 
As I understand things, by extending AxisFault, the error is generic and can be picked up in other languages. The downside is you cannot catch it as you would if you were to extend RemoteException ?. I found some example code where someone was throwing faults that extended AxisFault and had catch blocks client side.. can you really do this with Axis 1.1 ?  If I extend RemoteException I can catch them no problem.
 
When throwing faults I can catch them as AxisFaults client side, assuming this is correct, whats the "best" way of dealing with them ? i.e should I set faultcodes and work off them or ?
 
Thanks.
 
Tom

Reply via email to