try { System.out.println("A"); throw new Exception(); } catch (Exception e) { System.out.println("B"); throw new RuntimeException(); } finally { System.out.println("C"); }