PPT Slide
- Print an error message
-
- Log the exception
-
- Retry the method(maybe with default parameters)
-
- Restore the system to some previouslyknown "good" state.
-
- Set the system to some "safe" state.
-
- Let exception propagate to whoever called the method in which the exception arose
-
- Catch it and ignore it
“Catch it and ignore it” is generally bad: If the error was
serious enough to throw an exception, it should be dealt
When Catching Exceptions you can . . .