- slide 7 : 30
How are errors handled?
How should a run-time error be handled?
False alarm - Naive
Write a message on the screen or in a log - Helpful for subsequent correction of the source program
Stop the program execution in a controlled an gentle way - Save data, close connections
Recover from the error in the running program - Continue normal program execution when the problem is solved