Hi! I�m wondering about how to handle system exceptions, like if you remove the db file .... should you inform the user and shut down the application. What are the requirements for exception handling??? //Cecilia
Joined: May 02, 2002
Hi, If the db.db file is removed from the specified location before the server or client is started then I think that your program should inform the user either by displaying a message in the command window or by displaying a dialog box. By the way if the db.db is in use by the server or the client then I don't think that the underlying OS would allow anybody to delete/move that concerned file as because it is in use. Regarding exceptions the assignment instruction states that a certain amount of score is granted for exceptions so i think that one has to define a more generic and userfriendly error messages by using the exception handling mechanism. Hope it helps.. Thanks, Any suggetions are welcome.
Cecilia. Welcome to JavaRanch, and to the SCJD Forum. JavaRanch has a Naming Policy that requires first and last names. Unfortunately I am at home right now, or this post would have a link for you to the policy and where you can change you name at. You can change it here. Thanks and good luck on the assignment, we are all here for you. Mark [ May 06, 2002: Message edited by: Mark Spritzler ]