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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Box, D.: Essential COM. Addison Wesley (1998)
Cristian, F.: Exception Handling and Tolerance of Software Faults. Chapter 4 in: Lyu, M. (ed.): Software Fault Tolerance. Wiley (1995) 81–107
Ellis, M. A., Stroustrup, B.: The Annotated C++ Reference Manual. Addison Wesley (1990)
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
Meyer, B.: Object-Oriented Software Construction. Prentice Hall (1988)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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