EJFlow
Nélio Cacho, Fernando Castor, Alessandro Daeli Garcia et al. · International Conference on Aspect-Oriented Software Development (AOSD) · 2008
Many of the problems that stem from the use of exception handling are caused by the local way in which exceptions are handled. It demands that developers understand the source of an exception, the place where it is handled, and everything in between. As a consequence, exceptions easily get "out of control" and, as system development progresses, exceptional control flows become less well-understood, with potentially negative consequences for the program maintainability and reliability. This paper presents an innovative aspect-oriented model for exception handling implementation. In contrast to other exception handling mechanisms, our model provides abstractions to explicitly describe global views of exceptional control flows. As a result, this new model makes it possible to understand exception flows from an end-to-end perspective by looking at a single part of the program. Also, it leverages existing pointcut languages to make the association of handlers with normal code more flexible. The implementation of our proposed model, called EJFlow, extends the AspectJ programming language with the aim of promoting enhanced robustness and program modularization. We evaluate qualitatively and quantitatively the proposed exception handling model through a case study targeting a real mobile application.
Cited by 53 works. doi:10.1145/1353482.1353492
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Aspect-oriented programming
- Pattern-oriented Software Architecture: A System of Patterns
- A metrics suite for object oriented design
- Aspect-oriented programming
- Buschmann, Frank; Meunier, Regine; Rohnert, Hans; Sommerlad, Peter; Stal, Michael. Pattern-oriented software architecture: a system of patterns, John Wiley & Sons Ltd, 1996
- Exception handling
- Optimizing Java Bytecode Using the Soot Framework: Is It Feasible?
- abc
- Implementing distribution and persistence aspects with aspectJ