Chapter 9.0
3
Click here to load reader
Transcript of Chapter 9.0
EXCEPTION HANDLING
Chapter 9:
Contents
Catching Exception
Throwing Exception and Multiple catch Block
Propagating Exception
Type of Exceptions
Learning Goals
Improve the reliability of code by
incorporating exception-handling.
Implement the try-catch blocks for
catching and handling exceptions.
Write methods that propagate
exceptions.
Distinguish the checked and unchecked,
or runtime, exceptions.