Writing After-Throwing Advices
Writing After Throwing Advices After-throwing advices are written using the annotated parameter signature. The only difference is that these advices feature an additional annotated parameter: @Thrown. This mandatory parameter will hold the thrown exception. So, an after-throwing advice should be of the form: public void (@ arg0, @ arg1, ... @Thrown argi, ... @ argN) throws ,,..., Where 0 <= i <= N and Throwable-Type can be one of the following: java.lang.Throwable any runtime exception an exception declared to be thrown by the joinpoint you are intercepting