AfterThrowing « Exception « Spring Q&A





1. Strange exception using @AfterThrowing    forum.springsource.org

Strange exception using @AfterThrowing Hello, im having an strange exception. I have an aspect that is something like: Code: @Aspect public class CountAspect { private int numAttemps = 0; @Around("execution(* com.dg.aspects.ExecutorInterface.start(..))") ...

2. Catching an exception in @AfterThrowing method    forum.springsource.org

Catching an exception in @AfterThrowing method Hi, I'm a bit confused with the usage of @AfterThrowing. What i'd like to do is to catch an exception that is thrown by an ...