Changed Exception to IOException

This commit is contained in:
Keith Armstrong 2024-12-31 16:15:45 -05:00
parent 3175eab2e0
commit 757387b46c

View File

@ -5,7 +5,7 @@ import java.util.*;
public class fileProcessor {
public static String readFirstLine(String thisFile) throws Exception {
public static String readFirstLine(String thisFile) throws IOException {
File file = new File(thisFile);
if (file.exists()) {
FileReader fr = new FileReader(file);