 | Chapter Objectives (See related pages)
After you have read and studied this chapter, you should be able to- Improve the reliability of code by incorporating exception-handling and assertion routines.
- Write methods that propagate exceptions.
- Implement the try-catch blocks for catching and handling the thrown exceptions.
- Write programmer-defined exception classes.
- Distinguish between the checked and unchecked, or runtime, exceptions.
- Use assertions in methods to increase the chance of detecting bugs during the development.
- Construct a program using the supervisor-subordinate design pattern.
|
|