UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Catch.java
public class Catch{
    public static void main(String[] args){
        try{throw new ImageFormatException("yuck!");}
        catch (ImageFormatException e){
            System.out.println("caught it");
        }
        catch (RuntimeException e){
            System.out.println(e.getMessage());
        }
    } // Order of catches?
}