The current lack of effective error-handling techniques for developing dependable object-oriented software produces software components which are usually difficult to understand. to change and to maintain in the presence of faults. Ideally suchcomponents should incorporate their exceptional activity in a structured and transparent manner so that the abnormal code would not be amalgamated to the normal code. In this context, we propose the design and implementation of an object-orientedexception handling mechanism based on a meta-level approach. The goal of our work is twofold: (i) to define an exception handling model which supports a clear and transparent separation of the normal activity of a component from its exceptional activity,and (ii) to provide a meta-level architecture which implements such mechanism. This mechanism does not require any special language support and was implemented within the Java programming language without any changes to the language itself by means of ameta-object protocol.
展开▼