CS202 Java-144
Exceptions
l An exception is an unusual situation that occurs when the program is running.
l Exception Management
•Define the error condition
•Enclose code containing possible error (try).
•Alert the system if error occurs (throw).
•Handle error if it is thrown (catch).
•