In this essay, I will discuss the relatively new concept of error handling through “exceptions”, and compare it to traditional techniques. First, I will discuss traditional techniques for error handling, and outline the problems that exist with these techniques. Then I will introduce and discuss exceptions, and see how their usage solves the traditional problems. Finally, I will discuss why traditional techniques might be more useful than exceptions in some rare cases.
Exception or Rule?
20 December 2003