Ada - Europe '93

Volume 688 of the series Lecture Notes in Computer Science pp 142-152


Use and abuse of exceptions — 12 guidelines for proper exception handling

  • Jürgen SchwilleAffiliated withDept. of Computer Science, University of Stuttgart

* Final gross prices may vary according to local VAT.

Get Access


This paper presents a list of twelve guidelines for proper use of exception handling in Ada. After comparing Ad′as exception handling to other mechanisms, each guideline is discussed in depth, illustrated by several examples. Analyzing the Booch Components provides additional substantiation for the presented guidelines. After reading this paper you should be able to distinguish clearly when to use and when not to use exception handling — an important question that every Ada developer should have in mind.