«^»
14. Exceptions

Some books seem to include exceptions as an afterthought: often the whole topic is taught in the last chapter. As with implementation inheritance, my course gradually introduces the various aspects of exceptions:

Although in Java it can be tempting to overuse exceptions, in this course it is recommended that they are only used for untoward situations. For this reason, the idea of introducing your own exceptions is briefly only mentioned at the end of the course. A good article on the topic is Designing with exceptions by Venners. You will find it at http://www.javaworld.com/javaworld/jw-07-1998/jw-07-techniques.html