Abstract
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.
Preview
Unable to display preview. Download preview PDF.
References
Booch, G. (1987): Software Components with Ada. The Benjamin/Cummings Publ. Co., Inc., Menlo Park, California.
CSC (1989): Ada Reusability Handbook. Technical Report No. SP-IRD 11, December 1987, revised May 1989. Computer Sciences Corporation, Moorestown, New Jersey.
DoD (1990): Ada 9X Requirements. Office of the Under Secretary of Defense, Washington, D.C., December 1990.
Hoare, C.A.R. (1981): The Empero√s Old Clothes. Communications of the ACM, 24(2), February 1981. pp. 75–83.
IEEE (1990): IEEE Standard Glossary of Software Engineering Terminology. IEEE Std 610.12-1990. IEEE Computer Society Press, New York.
Luckham, D.C., and F.W. von Henke (1985): An Overview of Anna, a Specification Language for Ada. IEEE Software, 2(2), March 1985. pp. 9–22.
Meyer, B. (1988): Object-oriented Software Construction. Prentice Hall, New York.
Meyer, B. (1989): From Structured Programming to Object-Oriented Design: The Road to Eiffel. Structured Programming, 10(1), January 1989. pp. 19–39.
Parnas, D.L. (1972): A Technique for Software Module Specification with Examples. Communications of the ACM, 15(5), May 1972. pp. 330–336.
Sommerville, I. (1989): Software Engineering. Addison-Wesley, Wokingham. 3rd Edition.
SPC (1991): Ada Quality and Style: Guidelines for Professional Programmers. SPC-91061-N, Version 02.00.02. Software Productivity Consortium, Herndon, Virginia.
Stroustrup, B. (1986): The C++ Programming Language. Addison-Wesley Publ. Company, Reading, Mass. Reprinted edition.
Yemini, S., and D.M. Berry (1985): A Modular Verifiable Exception-Handling Mechanism. ACM Transactions on Programming Languages and Systems, 7(2), April 1985. pp. 214–243.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Schwille, J. (1993). Use and abuse of exceptions — 12 guidelines for proper exception handling. In: Gauthier, M. (eds) Ada - Europe '93. Ada-Europe 1993. Lecture Notes in Computer Science, vol 688. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56802-6_12
Download citation
DOI: https://doi.org/10.1007/3-540-56802-6_12
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-56802-5
Online ISBN: 978-3-540-47748-8
eBook Packages: Springer Book Archive