forked from nus-cs2103-AY1617S4/addressbook-level2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move handling of missing file to normal code path
As stated in the comments of the original code, handling the missing file using an exception is not appropriate, because it is a normal situation (e.g. when starting the program for the very first time). Therefore, handle the logic outside the exception code path to aid readability.
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters