[jboss-user] [JBoss AOP] - AspectJ handler pointcut designator ??

jtonic do-not-reply at jboss.com
Fri Nov 30 11:29:15 EST 2007


AspectJ supports handling an exception via a catch block.

Handler Pointcut Designator synopsis is:

handler(TypePattern)

So the following pointcut permits do something every time an exception is caught:

pointcut handlingAnException(): handler(*);

Is JBoss AOP supporting exception handling in catch block?

Best regards, jtonic 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109382#4109382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109382



More information about the jboss-user mailing list