Yes swapna dats right...define a userdefined exception class...throw that exception obj in ur service method and dat service method should throws the same exception object.//
On Fri, May 27, 2011 at 11:12 AM, swapna soni <[email protected]> wrote: > Hi, > > You can catch a custom Exception in your service and from there throw you > custom exception. > > Thanks, > Swapna Soni. > > -----Original Message----- > From: Denise Wu [mailto:[email protected]] > Sent: Thursday, May 26, 2011 9:56 PM > To: [email protected]; [email protected] > Subject: Custom exceptions in axis2 > > Hi, > > I created a custom exception on my server side but my client is always > getting an AxisFault exception. > Is there a way for the server to send instead the custom exception? > > Thanks for your help! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards, Amarnath Redddy.G 91-9985923453.
