Skip to main content

Adapting C++ Exception Handling to an Extended COM Exception Model

  • Chapter
  • First Online:
Advances in Exception Handling Techniques

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

Abstract

This paper describes how correctness and robustness of componentbased systems can be improved by categorising exceptions by component state and cause, and handling them accordingly. Further, it is shown how this model is supported in C++ in a COM-based environment, also simplifying the code for exception detection, signalling, and handling.

Acknowledgement

Many thanks to Are F. TjØnn and Johannes Hermanrud who supported both the development and the writing of this paper. Thanks also to Daniel Vatier and Egil P. Andersen for reviewing the paper and to rest of the BRIX team for providing an inspiring working environment.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Box, D.: Essential COM. Addison Wesley (1998)

    Google Scholar 

  2. Cristian, F.: Exception Handling and Tolerance of Software Faults. Chapter 4 in: Lyu, M. (ed.): Software Fault Tolerance. Wiley (1995) 81–107

    Google Scholar 

  3. Ellis, M. A., Stroustrup, B.: The Annotated C++ Reference Manual. Addison Wesley (1990)

    Google Scholar 

  4. Krishnamurthy, S., Mathur, A.P.: On the Estimation of Reliability of a Software System Using Reliabilities of its Componentsq. 8th Int. Sym. on Software Reliability Engineering (ISSRE ’97), November 2-5, 1997 Albuquerque, US

    Google Scholar 

  5. Meyer, B.: Object-Oriented Software Construction. Prentice Hall (1988)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Hansen, B.E., Fredholm, H. (2001). Adapting C++ Exception Handling to an Extended COM Exception Model. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A. (eds) Advances in Exception Handling Techniques. Lecture Notes in Computer Science, vol 2022. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45407-1_13

Download citation

  • DOI: https://doi.org/10.1007/3-540-45407-1_13

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-41952-5

  • Online ISBN: 978-3-540-45407-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics