java:exceptions_intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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);​
java/exceptions_intro.txt · Last modified: 2019/04/20 05:02 by gthanos