Skip to main content

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

  • Conference paper
  • First Online:
Book cover Ada - Europe '93 (Ada-Europe 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 688))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • Booch, G. (1987): Software Components with Ada. The Benjamin/Cummings Publ. Co., Inc., Menlo Park, California.

    Google Scholar 

  • CSC (1989): Ada Reusability Handbook. Technical Report No. SP-IRD 11, December 1987, revised May 1989. Computer Sciences Corporation, Moorestown, New Jersey.

    Google Scholar 

  • DoD (1990): Ada 9X Requirements. Office of the Under Secretary of Defense, Washington, D.C., December 1990.

    Google Scholar 

  • Hoare, C.A.R. (1981): The Empero√s Old Clothes. Communications of the ACM, 24(2), February 1981. pp. 75–83.

    Article  Google Scholar 

  • IEEE (1990): IEEE Standard Glossary of Software Engineering Terminology. IEEE Std 610.12-1990. IEEE Computer Society Press, New York.

    Google Scholar 

  • 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.

    Google Scholar 

  • Meyer, B. (1988): Object-oriented Software Construction. Prentice Hall, New York.

    Google Scholar 

  • Meyer, B. (1989): From Structured Programming to Object-Oriented Design: The Road to Eiffel. Structured Programming, 10(1), January 1989. pp. 19–39.

    Google Scholar 

  • Parnas, D.L. (1972): A Technique for Software Module Specification with Examples. Communications of the ACM, 15(5), May 1972. pp. 330–336.

    Article  Google Scholar 

  • Sommerville, I. (1989): Software Engineering. Addison-Wesley, Wokingham. 3rd Edition.

    Google Scholar 

  • SPC (1991): Ada Quality and Style: Guidelines for Professional Programmers. SPC-91061-N, Version 02.00.02. Software Productivity Consortium, Herndon, Virginia.

    Google Scholar 

  • Stroustrup, B. (1986): The C++ Programming Language. Addison-Wesley Publ. Company, Reading, Mass. Reprinted edition.

    Google Scholar 

  • 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.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michel Gauthier

Rights and permissions

Reprints 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

Publish with us

Policies and ethics