Modeling exceptional behavior

  • Authors:
  • Neelam Soundarajan;Stephen Fridella

  • Affiliations:
  • Computer and Information Science, The Ohio State University, Columbus, OH;Computer and Information Science, The Ohio State University, Columbus, OH

  • Venue:
  • UML'99 Proceedings of the 2nd international conference on The unified modeling language: beyond the standard
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

While exception handling mechanisms are very useful for implementing systems, they are equally useful when building business models. The standard method of modeling exceptions in UML is to include them in class diagrams as a kind of signal, as stereotyped classes. However this alone is insufficient, since by the very nature of exceptions, the circumstances under which particular exceptions may be raised, as well as the details of what actions the class handling the exception will perform in doing so, tend to be rather complex and in general difficult to express pictorially. In this paper, we consider how this information may be specified using the Object Constraint Language (OCL). We illustrate our approach by applying it to a simple example.