I am trying to finish my choices.txt.Now I have lots questions in mind.
RAF opens the specified file,if not one it creates one(as my understanding..).I am not sure we have to create one.Is it one when the IOException is thrown,when trying to read the empty file.Since there is no specific reason for IOexception....can anybody help me how you handled this?
When the file does not exist, I throw an exception. This exception propagates back to the client and it is shown to the user (and then the application exits). A very simple and easy approach. No valid database file, no application (standalone client or network server).