UNB/ CS/ David Bremner/ teaching/ java/ catch1.java
public class Catch{
    public static void main(String[] args){
        try{
            throw
                new EmptyStackException("MT");
    }
    catch (EmptyStackException e){
      System.out.println("caught it");
    }
    catch (RuntimeException e){
      System.out.println(e.getMessage());
    }
  }
}
//