I think your exception class does not have to extend Axis Fault. You have to Use AXIS 1.1.

 

Thanks,

Subehndu

 

-----Original Message-----
From: Benedick Mark Chan [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 12:00 AM
To: [EMAIL PROTECTED]
Subject: NEWBIE: Custom exception problem

 

Hello,

 

 

 

I have created a custom exception in my server that extends AxisFault. In my client, I catched the custom exception.

 

Server throws CustomException ()

 

Client:

try {

}

catch (CustomException e) {

}

catch (AxisFault e) {

}

 

Why is it that in my client code, the custom exception is not being catched, but rather, it is catched in the axisfault.

 

By the way, I also did bean mapping.

 

 

Thanks.

Reply via email to