public class Propagate{ static void a(){ try { throw new RuntimeException("my message"); System.out.println("after throw"); } catch (RuntimeException banana){ throw new RuntimeException("re-thrown"); } } static void b(){ a(); System.out.println("after calling a"); } public static void main(String[] args){ try{ b(); } catch (RuntimeException e){ System.out.println(e.getMessage()); } } } //