-
Mar 21st, 2012, 03:36 AM
#1
Throwing exception in @Before, catching in @AfterThrowing
Hi,
i created a @Before Advice that throws an exception and tried to catch it in another @AfterThrowing, but it does not work.
if the exception is not thrown in the advice, but directly in the method, it works.
if it is thrown in the advice, the @AfterThrowing is not executed.
Why does it behave like that?
Thanks!
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