Home > Research > Publications & Outputs > A catalogue of bug patterns for exception handl...
View graph of relations

A catalogue of bug patterns for exception handling in aspect-oriented programs

Research output: Contribution in Book/Report/Proceedings - With ISBN/ISSNConference contribution/Paperpeer-review

Published
  • Roberta Coelho
  • Awais Rashid
  • Arndt von Staa
  • James Noble
  • Uirá Kulesza
  • Carlos Lucena
Close
Publication date2008
Host publicationPLoP '08: Proceedings of the 15th Conference on Pattern Languages of Programs
Place of PublicationNew York, NY, USA
PublisherACM
Pages1-13
Number of pages13
ISBN (print)978-1-60558-151-4
<mark>Original language</mark>English

Abstract

Aspects allow a developer to externally add new functionality to a program. This additional functionality may also throw new exceptions that will flow through the program execution until they are handled. Moreover, aspects can also be used to handle exceptions thrown by base code or even other aspects. Unfortunately, exceptions thrown by aspects --- or exceptions that should be handled by them --- may flow through the program execution in unexpected ways leading to failures such as uncaught exceptions or exceptions being caught by the wrong handlers. In a previous empirical study we investigated the causes of such failures in Aspect-Oriented programs. In this paper we present causes of such failures as a catalogue of bug patterns for exception handling in Aspect-Oriented programs.