Skip to content

Commit

Permalink
Exception handled
Browse files Browse the repository at this point in the history
  • Loading branch information
menakaj committed Aug 19, 2015
1 parent f187f89 commit 666d50e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void read(File file) {

} catch (ReaderException e) {
// TODO Auto-generated catch block
System.out.println(e.getMessage());
System.err.println(e.getMessage());

} catch (IOException e) {
// TODO Auto-generated catch block
Expand Down Expand Up @@ -142,7 +142,7 @@ public void saveToLog(String s) {
System.out.println("Results were saved into " + logFile.getPath());
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.err.println("Error writing to the file \n" + e.getMessage());
}

}
Expand Down

0 comments on commit 666d50e

Please sign in to comment.