Code /* TestException5.java CIS 260 Dave Klick 2016-02-03 This program handles specific exceptions, multiple types using multiple catch blocks, and includes "finally" processing. */ import java.io.*; public class TestException5 { public static void main(String[] args) { for (String filename : args) displayFile(filename); } private static void displayFile(final String fname) { FileInputStream input = null; try { input = new FileInputStream(fname); int data = input.read(); while (data != -1) { System.out.print((char) data); data = input.read(); } } catch (FileNotFoundException e1) { System.out.println("File " + fname + " not found"); } catch (IOException e2) { System.out.println("Error reading from file " + fname); } finally { try { input.close(); } catch (IOException e3) { System.out.println("Could not close file " + fname); } System.out.println("\n\nGot through try/catch blocks\n"); } } }