I'm having some problems compiling a program. I'm using a FileReader to read in a .txt file and then do some fun extraction on the strings before spitting it out to the screen at the moment. I keep getting: Error : Exception java.io.FileNotFoundException must be caught, or it must be declared in the throws clause of this method. FindCosts.java line 21 new FileReader(input)); When I try to compile it. I am using CodeWarrior 5 for the Mac if that makes any difference. This is my first time using FileReader so I'm wondering if I did it wrong. The code is below.
[This message has been edited by Cindy Glass (edited December 14, 2001).]