Busca avançada
Ano de início
Entree


Extracting error handling to aspects: A cookbook

Texto completo
Autor(es):
Castor Filho, Fernando ; Garcia, Alessandro ; Rubira, Cecilia Mary F. ; IEEE
Número total de Autores: 4
Tipo de documento: Artigo Científico
Fonte: 2007 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE; v. N/A, p. 2-pg., 2007-01-01.
Resumo

It is usually assumed that exception handling code can be better modularized by the use of aspect-oriented programming (AOP) techniques. However, recent studies argue that the ad hoc use of AOP can be detrimental to the quality of a system. When refactoring exception handling code to aspects, developers and maintainers need to follow clear and simple principles to obtain a well-structured system design. Otherwise, typical problems that stem from poorly designed/implemented error handling code will arise, e.g. resource leaking and swallowed exceptions. In this paper, we propose a classification for error handling code based on the factors that we found out have more influence on its aspectization. Moreover, we present a scenario catalog comprising combinations of these factors and analyze how these scenarios positively or negatively affect the task of aspectizing exception handling. We evaluated the proposed catalog through a case study where we used it to guide the aspectization of exception handling in two real systems. (AU)

Processo FAPESP: 02/13996-2 - Uma arquitetura de software confiável para sistemas baseados em componentes COTS
Beneficiário:Fernando José Castor de Lima Filho
Modalidade de apoio: Bolsas no Brasil - Doutorado Direto
Processo FAPESP: 04/10663-8 - Um metodo de desenvolvimento e testes para sistemas baseados em componentes com tratamento de excecoes.
Beneficiário:Cecília Mary Fischer Rubira
Modalidade de apoio: Auxílio à Pesquisa - Regular
Processo FAPESP: 06/04976-9 - Tolerância a falhas em grades computacionais de grande escala
Beneficiário:Fernando José Castor de Lima Filho
Modalidade de apoio: Bolsas no Brasil - Pós-Doutorado