UNB/ CS/ David Bremner/ teaching/ java/ CheckedException4.java
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class CheckedException4{
  public static void open(String filename) throws IOException{
      BufferedReader infile=  new BufferedReader(
                                                 new FileReader(filename)); 
  }
  public static void main(String[] args) throws IOException{
      open("foo");
  }
}

//