Outline for CS239 - 01/17/08
Group activity
- Review lab from Wednesday
- Compile a list of all of the run-time exceptions found by students
- Present some example strategies for avoiding those exceptions
Introduction to Exception Handling
- Exception hierarchy
- Services provided by Exception classes
- Try/catch blocks
Group activity
- Exception objects
- Anatomy of a try/catch block
- Checked vs Unchecked Exceptions
- What exceptions do methods throw?
- Using the try/catch or specify.