| | Exception Handling - slide 8 : 30 |
Where are errors handled?
Should an error be handled locally, or at another place in the program?
- Handle errors at the place in the program where they occur
- If possible, this is the easiest approach
- Not always possible nor appropriate
- Handle errors at another place
- Along the calling chain
- Separation of concerns