well, if it comes to me I got different result. if I am wrong somewhere,
please correct me.
Now, If I call a method:
public void print(){
     System.out.println("MyService: print()" +1/0);
 }

the handler is omitted and client receives:"java.lang.ArithmeticException: /
by zero"
so I quess if I rethrow even a new exception handler would still be omitted
if I call a method:
public int add (int i1, int i2) throws DMSException    {

// ....
}
then I got my DMSException on the client side and my handler is omitted here
as well.

so I assume whether or not it is checked or unchecked exception the handler
is never started.

My handler is:
public class MonitorHandler extends BasicHandler{
    public   void onFault(MessageContext msgContext) {
        System.out.println("Inside ON FAULT OPERATION");

    }
    public void invoke(MessageContext msgContext)  throws AxisFault{
      try {
          System.out.println("!!!!!!INSIDE MONITOR HANDLER# !!!!!!!");
        ...
     }catch (Exception e) {
                  throw AxisFault.makeFault(e);
     }
}

Reply via email to