Currently Exceptions are declared, not thrown. Change FileRead and FileWrite to deal with exceptions instead of crashing, and saving the data to a backup in case that happens, allowing read file to load backup if original file was deleted
[x] Catch FNF, IO to deal with as needed.
[x] Creating a new File in the catch block of FNF exception.
-alert user to file change
[ ] allow the read file to use backup file if FNF occurred in last write.
maybe print a -1 in original file to alert that backup was used last, and give user option to load backup. Or allow whichever has the most recent modified date to be loaded.
Currently Exceptions are declared, not thrown. Change FileRead and FileWrite to deal with exceptions instead of crashing, and saving the data to a backup in case that happens, allowing read file to load backup if original file was deleted
[x] Catch FNF, IO to deal with as needed.
[x] Creating a new File in the catch block of FNF exception. -alert user to file change
[ ] allow the read file to use backup file if FNF occurred in last write.
maybe print a -1 in original file to alert that backup was used last, and give user option to load backup. Or allow whichever has the most recent modified date to be loaded.