<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import java.io.*;
import java.io.*;
public class TestExceptionExample1  {
  public static void getInput(String fileName) {
    FileInputStream fis;
    fis = new FileInputStream(fileName);
    // file processing code appears here
  } // end getInput

  static public void main(String[] args) {
    getInput("test.dat");
  } // end main
} // end TestExceptionExample
</pre></body></html>