12,000

We have over 12,000 students, from over 100 countries, within one of the safest campuses in the UK

93%

93% of Lancaster students go into work or further study within six months of graduating

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

« Back

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

Research output: Contribution in Book/Report/ProceedingsConference contribution

Published

  • Roberta Coelho
  • Awais Rashid
  • Arndt von Staa
  • James Noble
  • Uirá Kulesza
  • Carlos Lucena
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
Original languageEnglish

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.