Skip to main content

Exceptions in Object Modeling: Finding Exceptions from the Elements of the Static Object Model

  • Chapter
  • First Online:
Advances in Exception Handling Techniques

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

Abstract

The problem of modeling exceptions has not been studied much: literature gives good advice, but lacks concepts about how to think up and model exceptions. We propose guidelines, based on static object model elements, on finding exceptions at modeling stage, and on organizing them. Along with this guide, we also present a thought about finding exceptions using constraints, and about composing exceptions. In order to represent the concepts needed above, we propose some additions to the UML metamodel. We conclude by showing how our proposals can solve some subtyping problems, and how they allow to catch exceptions at different levels of accuracy.

UML term, which may refer to an operation or to a method.

Acknowledgements

We would like to thank Christophe Dony, Roland Ducournau, and Thérèse Libourel for their comments and suggestions on previous versions of this paper.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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.

Similar content being viewed by others

References

  1. Rational Software Corporation. UML v 1.1, Semantics, september 1997. version 1.1 ad/97-08-04.

    Google Scholar 

  2. G. Booch, J. Rumbaugh, and I. Jacobson. The Unified Modeling Language User Guide. Addison-Wesley, 1999.

    Google Scholar 

  3. http://www.python.org/doc/essays/stdexceptions.html.

  4. ]B. Stroustrup. The C++ Programming Language. Third Edition. Addison-Wesley, 1998.

    Google Scholar 

  5. K. Arnold, J. Gosling, and D. Holmes. The Java Programming Language. Third Edition. Addison-Wesley, 2000.

    Google Scholar 

  6. D. Flanagan. Java in a nutshell. Third Edition. Java 1.2. O’Reilly, 1999.

    Google Scholar 

  7. D. Flanagan. Java in a nutshell. Second Edition. Java 1.1. O’Reilly, 1997.

    Google Scholar 

  8. S. Oaks and H. Wong. Java Threads. O’Reilly, 1997.

    Google Scholar 

  9. Taligent’s Guide to Designing Programs. Copyright 1995. Taligent, Inc.

    Google Scholar 

  10. D. Meyer. Eiffel: the language. Prentice-Hall, 1992.

    Google Scholar 

  11. C. Dony, J. Purchase, and R. Winder. Exception Handling in Object-Oriented systems: Report on ECOOP’91 Workshop W4, 1991.

    Google Scholar 

  12. C. Dony. Exception Handling and Object-Oriented Programming: Towards a Synthesis. ACM SIGPLAN Notices, 25(10): 322–330, october 1990. Proceedings of ECOOP-OOPSLA’90.

    Article  Google Scholar 

  13. J. Rumbaugh, M. Blaha, W. Premerlani, F. Eddy, and W. Lorensen. Object-Oriented Modeling and Design. Prentice Hall Inc. Englewood Cliffs, 1991.

    Google Scholar 

  14. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns. Addison-Wesley, 1994.

    Google Scholar 

  15. T. Valkevych and S. Drossopoulou. Formalizing Java Exceptions, in ECOOP’2000 Workshop W2: Exception Handling in Object-Oriented systems. June 2000.

    Google Scholar 

  16. J.L. Knudsen. Exception Handling versus Fault Tolerance, in ECOOP’2000 Workshop W2: Exception Handling in Object-Oriented systems. June 2000.

    Google Scholar 

  17. A. Mikhailova and A. Romanovsky. Behaviour Preserving Evolution of Interface Exceptions, in ECOOP’2000 Workshop W2: Exception Handling in Object-Oriented systems. June 2000.

    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

Ahronovitz, Y., Huchard, M. (2001). Exceptions in Object Modeling: Finding Exceptions from the Elements of the Static Object 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_5

Download citation

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

  • 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