Lecture Notes for Advanced Programming II

10 February 2004 - Exceptions


Exceptions


Errors


The Error Pass-Along Problem


Solving the Error Pass-Along Problem


Exceptions


Exception Basics


Call Stack Example


Exceptions and the Call Stack


Exception Problems


Basic Exception Mechanisms


The throw Statement


The catch Clause


Catching Exceptions


The try Statement


Exception Problems II


Try-Catch Behaviors


Exceptions in Catch Clauses


Exception Mechanism Refinements


Exception Problems III


Standard Exceptions


Defined Standard Exceptions


Defining Exceptions


Further Exception Refinements


Points to Remember


This page last modified on 14 February 2004.