| Error handling as an aspect |
| Full text |
Pdf
(430 KB)
|
| Source
|
Aspect-oriented software development; Vol. 211
archive
Proceedings of the 2nd workshop on Best practices in applying aspect-oriented software development
table of contents
Vancouver, British Columbia, Canada
Article No. 1
Year of Publication: 2007
ISBN:1-59593-662-2
|
|
Authors
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 12, Downloads (12 Months): 62, Citation Count: 4
|
|
|
ABSTRACT
One of the fundamental motivations for employing exception handling in the development of robust applications is to lexically separate error handling code from the normal code so that they can be independently modified. However, experience has shown that exception handling mechanisms of mainstream programming languages fail to achieve this goal. In most systems, exception handling code is interwined with the normal code, hindering maintenance and reuse. Moreover, because of limitations in the exception handling mechanisms of most mainstream programming languages, error handling code is often duplicated across several different places within a system. In this paper we present a pattern, Error Handling Aspect, which leverages aspect-oriented programming in order to enhance the separation between error handling code and normal code. The basic idea of the pattern is to use advice to implement exception handlers and pointcuts to associate advice to different parts of the normal code in order to improve the maintainability of the normal code and promote reuse of error handling code.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
P. A. Lee , T. Anderson , J. C. Laprie , A. Avizienis , H. Kopetz, Fault Tolerance: Principles and Practice, Springer-Verlag New York, Inc., Secaucus, NJ, 1990
|
| |
2
|
Thiago Tonelli Bartolomei. On modularity assessment of aspect-oriented software. Master's thesis, Kiel University of Applied Sciences, Kiel, Germany, October 2006.
|
 |
3
|
Fernando Castor Filho , Nelio Cacho , Eduardo Figueiredo , Raquel Maranhão , Alessandro Garcia , Cecília Mary F. Rubira, Exceptions and aspects: the devil is in the details, Proceedings of the 14th ACM SIGSOFT international symposium on Foundations of software engineering, November 05-11, 2006, Portland, Oregon, USA
[doi> 10.1145/1181775.1181794]
|
| |
4
|
F. Castor Filho, A. Garcia, and C. M. F. Rubira. The Error Handling Aspect pattern, 2007. Submitted to the 6th Latin-American Conference on Pattern Languages of Programs (SugarloafPLoP'06).
|
| |
5
|
C. Chavez. A Model-Driven Approach for Aspect-Oriented Design. PhD thesis, Pontifíficia Universidade Católica do Rio de Janeiro, Rio de Janeiro, Brazil, April 2004.
|
 |
6
|
|
| |
7
|
F. Cristian. Exception handling. In Dependability of Resilient Computers. BSP Professional Books, 1989.
|
| |
8
|
|
| |
9
|
F. Diotalevi. Contract enforcement with aop, July 2004. IBM Developer Works - http://www-128.ibm.com/developerworks/library/j-ceaop/.
|
| |
10
|
R. Filman and D. Friedman. Aspect-oriented programming is quantification and obliviousness. In Proceedings of the Workshop on Advanced Separation of Concerns, OOPSLA '2000, October 2000.
|
| |
11
|
|
| |
12
|
|
 |
13
|
|
| |
14
|
R. Laddad. AspectJ in Action. Manning, 2003.
|
 |
15
|
|
 |
16
|
|
| |
17
|
|
| |
18
|
B. Randell and J. Xu. The evolution of the recovery block concept. In Software Fault Tolerance, chapter 1, pages 1--21. John Wiley Sons Ltd., 1995.
|
 |
19
|
Sergio Soares , Eduardo Laureano , Paulo Borba, Implementing distribution and persistence aspects with aspectJ, Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, November 04-08, 2002, Seattle, Washington, USA
|
 |
20
|
Kevin Sullivan , William G. Griswold , Yuanyuan Song , Yuanfang Cai , Macneil Shonle , Nishit Tewari , Hridesh Rajan, Information hiding interfaces for aspect-oriented design, Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering, September 05-09, 2005, Lisbon, Portugal
|
 |
21
|
Peri Tarr , Harold Ossher , William Harrison , Stanley M. Sutton, Jr., N degrees of separation: multi-dimensional separation of concerns, Proceedings of the 21st international conference on Software engineering, p.107-119, May 16-22, 1999, Los Angeles, California, United States
[doi> 10.1145/302405.302457]
|
CITED BY 4
|
|
|
|
|
|
|
|
Zhanqi Cui , Linzhang Wang , Huigen Liu , Xuandong Li, Computational error handling as aspects: a case study, Proceedings of the 1st workshop on Linking aspect technology and evolution, p.7-11, March 03-03, 2009, Charlottesville, Virginia, USA
|
|
|
|
|