-
Feb 7th, 2012, 02:39 AM
#1
How to avoid logging caught exception using AOP?
Hi,
In a nutshell i am trying to avoid logging the caught exceptions at pointcut.
I am using @AfterThrowing to log the exceptions happening in the system and from my understanding regardless of the exceptions is caught or not the aspect executes and do its' work(in this case loging). what i dont want to do is not to log any exceptions which is caught in the applciation. is there anyway i can do that? or my understanding is wrong?
any help to make me understand better is appreciated.
ta
venkatesh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules