public class Four { public static void main(String []argv) { new Four().run(); } public void run() { try { System.out.println("run() running"); throw new IllegalStateException(); } catch (Throwable t) { System.out.println("caught something"); } } } aspect X { before(Throwable t): handler(Throwable) && args(t) { System.out.println(thisJoinPointStaticPart.getSignature()); } }