I think you can write your own handler and configure axis2.xml to process
exception.

2011/1/27 Ognjen Blagojevic <[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]
> For additional commands, e-mail: [email protected]
>
>


-- 
Haipeng Du
Salt Lake City

Reply via email to