This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
java:exceptions_intro [2015/03/03 06:12] gthanos [Exception Handler] |
java:exceptions_intro [2015/03/03 06:13] gthanos [Exception Handler] |
||
---|---|---|---|
Line 129: | Line 129: | ||
fReader.close(); | fReader.close(); | ||
}catch(IOException ex) { | }catch(IOException ex) { | ||
- | System.out.println("IOException occured while reading from file "+path); | + | System.out.println("IOException occured while opening file or reading from file "+path); |
System.out.println("Exiting..."); | System.out.println("Exiting..."); | ||
System.exit(1); | System.exit(1); |