Hi,
Is it possible to specify a pointcut for the catch block?? In my program I want to intercept a checked exception. So I want when an exception is thrown and a catch block is called, the interceptor should be invoked. Is it possible to do with JBoss AOP?? I am using jdk1.4.2, JBoss AOP 1.3.1, and JBOss 4.0.
thanks,
-NS
no, but you can do a pointcut pattern based on the throws clause of the method.
* *->*(..) throws java.sql.SQLException