Exceptions in object modeling: finding exceptions from the elements of the static object model

  • Authors:
  • Yolande Ahronovitz;Marianne Huchard

  • Affiliations:
  • LIRMM UMR 5506 and Montpellier II University, 161 rue Ada, 34392 Montpellier Cedex 5, France;LIRMM UMR 5506 and Montpellier II University, 161 rue Ada, 34392 Montpellier Cedex 5, France

  • Venue:
  • Advances in exception handling techniques
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

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.