Hi,
In my project, i am using @AfterThrowing advice to send a mail to specific group whenever any exception occured in service method.But if i am catching that exception. @AfterThrowing advice not working.If i dont have ant catch statement it is working fine.
So could you please let me know after sending the mail how should i catch the exception.


Reply With Quote
. If you are catching the exception there is NO "throwing" from that method. Don't catch it or re throw it.