Here is one link to write your own module.
http://axis.apache.org/axis2/java/core/docs/modules.html

On Fri, Jan 28, 2011 at 1:31 AM, Ognjen Blagojevic <
[email protected]> wrote:

> Hi Du,
>
> I was hoping that was possible, but I am unable to find any reference in
> the documentation how to do that.
>
> Could you provide any pointers how can I configure Axis2 to use my
> exception handler?
>
> -Ognjen
>
>
>
> On 27.1.2011 17:16, haipeng du wrote:
>
>> I think you can write your own handler and configure axis2.xml to
>> process exception.
>>
>> 2011/1/27 Ognjen Blagojevic <[email protected]
>> <mailto:[email protected]>>
>>
>>
>>    Hi,
>>
>>    I have a web service with several hundred methods, each of which may
>>    throw a RuntimeException.
>>
>>    I need to to do certain action (log, send email) when exception is
>>    thrown, and then to re-throw it. Is it possible to do that globally
>>    (using some kid of global exception handler), W/O nesting try-catch
>>    block in every method?
>>
>>    Regards,
>>    Ognjen
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: [email protected]
>>    <mailto:[email protected]>
>>
>>    For additional commands, e-mail: [email protected]
>>    <mailto:[email protected]>
>>
>>
>>
>>
>>
>> --
>> Haipeng Du
>> Salt Lake City
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Haipeng Du
Salt Lake City

Reply via email to