UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Propagate2.java
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"); }
    }
}