I have a simple log interceptor that basically collates some system details and the exception thats occured and emails these details to specified email addresses. However, when an exception occurs and is passed along an exception chain I recieve the log output and emails for each afterThrowing interception.
How can i limit this occurance to just 1 instance? I don't want to use getCause() on the exception since I may lose exception tracing on essential external libraries that have been wrapped before it reaches my app.
Thanks
D.


Reply With Quote