Seems life is full of mini-disasters up here. Last month I injured my shoulder which made typing impossible. Until I have time to do so, the DTS articles will have to wait.
Exceptions follow a similar concept but are far more powerful.
An exception is an object designed by the programmer specifically to relay error information. An advantage of using heirarchies of error objects is that any error object with a parent can be caught by blocks expecting the parent object. We'll look at catching exceptions by the exception object's parent class later. We have already seen that an exception is nothing more than an object designed to convey error information. Unlike the simple switch case, however, try blocks can be nested within and across function calls.