You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Denise Wu <wa...@gmail.com> on 2011/06/03 12:56:55 UTC

Re: Custom exceptions in axis2

Solved thanks guys for your help.


On Fri, May 27, 2011 at 11:21 AM, Sagara Gunathunga
<sa...@gmail.com> wrote:
> Please look at the faulthandling sample available on Axis2 binary
> distribution.
>
> Thanks !
>
> On Fri, May 27, 2011 at 1:54 PM, Denise Wu <wa...@gmail.com> wrote:
>> Hi.
>>
>> That's what I did but it is always returning and AxisFault exception.
>>
>> On Fri, May 27, 2011 at 6:42 AM, swapna soni <ss...@nisum.com> 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:wadienil@gmail.com]
>>> Sent: Thursday, May 26, 2011 9:56 PM
>>> To: java-dev@axis.apache.org; java-user@axis.apache.org
>>> 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: java-dev-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>
>>>
>>
>>
>>

>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org