PPT Slide
- When an exceptional condition occurs, an exception is “thrown” (i.e., the exception has been recognized).
- The flow of control is tranferred to the point where the exception is “caught” (I.e., where the exception-handling code responds to it).In the jargon of some other programming languages, when an exception is recognized, an exception is:
- “raised” (in place of “thrown”), then
- “handled” (in place of “caught”).
Same ideas, different jargon.