Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4119))

  • 482 Accesses

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.

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

    Chapter  Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. 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)

    Chapter  Google Scholar 

  4. Microsoft Corporation: Microsoft Visual C++. NET Language Reference. Microsoft Press, Redmond (2002)

    Google Scholar 

  5. Cui, Q., Gannon, J.: Data-oriented exception handling. IEEE Transactions on Software Engineering 18, 393–401 (1992)

    Article  Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. Burns, A., Wellings, A.: Real-Time Systems and Programming Languages, 2nd edn. Addison-Wesley, Reading (1997)

    MATH  Google Scholar 

  8. Intermetrics, Inc.: Ada Reference Manual. International standard ISO/IEC 8652:1995(E) with COR.1:2000 edn., Language and Standards Libraries (1995)

    Google Scholar 

  9. Nelson, G. (ed.): Systems Programming with Modula-3. Prentice Hall Series in Innovative Technology. Prentice-Hall, Englewood Cliffs (1991)

    Google Scholar 

  10. 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)

    Google Scholar 

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

  12. Stroustrup, B.: The Design and Evolution of C++. Addison-Wesley, Reading (1994)

    Google Scholar 

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

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics