Abstract
Many modern object-oriented languages do not incorporate exception handling into the object model. Specifically, no provision is made to involve the object responsible for raising an exception in the catching mechanism. Thus, discrimination among multiple objects raising the same exception is difficult. The notion of a bound exception is introduced to associate a responsible object with an exception during propagation and allow the catch clause to match on both the responsible object and exception. Multiple strategies for determining the responsible object are presented, along with extending bound exceptions to nonlocal propagation among coroutines/tasks.
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
Pitman, K.M.: Condition handling in the lisp language family. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A.R. (eds.) ECOOP-WS 2000. LNCS, vol. 2022, pp. 39–59. Springer, Heidelberg (2001)
Dony, C.: A fully object-oriented exception handling system: Rationale and smalltalk implementation. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A.R. (eds.) ECOOP-WS 2000. LNCS, vol. 2022, pp. 18–38. Springer, Heidelberg (2001)
Knudsen, J.L.: Fault tolerance and exception handling in BETA. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A.R. (eds.) ECOOP-WS 2000. LNCS, vol. 2022, pp. 1–17. Springer, Heidelberg (2001)
Microsoft Corporation: Microsoft Visual C++. NET Language Reference. Microsoft Press, Redmond (2002)
Cui, Q., Gannon, J.: Data-oriented exception handling. IEEE Transactions on Software Engineering 18, 393–401 (1992)
Buhr, P.A., Macdonald, H.I., Zarnke, C.R.: Synchronous and asynchronous handling of abnormal events in the μSystem. Software–Practice and Experience 22, 735–776 (1992)
Burns, A., Wellings, A.: Real-Time Systems and Programming Languages, 2nd edn. Addison-Wesley, Reading (1997)
Intermetrics, Inc.: Ada Reference Manual. International standard ISO/IEC 8652:1995(E) with COR.1:2000 edn., Language and Standards Libraries (1995)
Nelson, G. (ed.): Systems Programming with Modula-3. Prentice Hall Series in Innovative Technology. Prentice-Hall, Englewood Cliffs (1991)
Buhr, P.A., Harji, A., Mok, W.Y.R.: Exception handling. In: Zelkowitz, M.V. (ed.) Advances in COMPUTERS, vol. 56, pp. 245–303. Academic Press, London (2002)
Krischer, R.: Bound exceptions in object-oriented programming languages. Diplomarbeit, Universität Mannheim, Mannheim, Deutschland (2002), ftp://plg.uwaterloo.ca/pub/theses/KrischerThesis.ps.gz
Stroustrup, B.: The Design and Evolution of C++. Addison-Wesley, Reading (1994)
Buhr, P.A.: μC++ annotated reference manual, version 5.3.0. Technical report, School of Computer Science, University of Waterloo, Waterloo, Ontario, Canada, N2L 3G1 (2006), ftp://plg.uwaterloo.ca/pub/uSystem/C++.ps.gz
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Buhr, P.A., Krischer, R. (2006). Bound Exceptions in Object-Oriented Programming. In: Dony, C., Knudsen, J.L., Romanovsky, A., Tripathi, A. (eds) Advanced Topics in Exception Handling Techniques. Lecture Notes in Computer Science, vol 4119. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11818502_1
Download citation
DOI: https://doi.org/10.1007/11818502_1
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-37443-5
Online ISBN: 978-3-540-37445-9
eBook Packages: Computer ScienceComputer Science (R0)