Open Access

A systematic approach for structuring exception handling in robust component-based software

  • Fernando Castor Filho1,
  • Paulo Asterio de C. Guerra1,
  • Vinicius Asta Pagano1 and
  • Cecília Mary F. Rubira1
Journal of the Brazilian Computer Society10:BF03192362

DOI: 10.1007/BF03192362


Component-based development (CBD) is recognized today as the standard paradigm for structuring large software systems. However, the most popular component models and component-based development processes provide little guidance on how to systematically incorporate exception handling into component-based systems. The problem of how to employ language-level exception handling mechanisms to introduce redundancy in componentbased systems is recognized by CBD practitioners as very difficult and often not adequately solved. As a consequence, the implementation of the redundant exceptional behaviour causes a negative impact, instead of a positive one, on system and maintainability. In this paper, we propose an approach for the construction of dependable component-based systems that integrates two complementary strategies: (i) a global exception handling strategy for inter-component composition and (ii) a local exception handling strategy for dealing with errors in reusable components. A case study illustrates the application of our approach to a real software system.


Exceptional behaviour Fault-tolerant component Software fault tolerance Component-based development