public class Propagate2{ static void a(){ throw new RuntimeException("A"); } static void b(){ try { a(); } catch (RuntimeException e) { System.out.println("b"); } } public static void main(String[] args){ try{ b(); } catch (RuntimeException e){ System.out.println("main"); } } } //