An Efficient and Reliable Object-Oriented Exception Handling Mechanism

SJ Jiang,BW Xu
DOI: https://doi.org/10.1145/1052659.1052664
2005-01-01
Abstract:This paper proposes an exception handling mechanism for developing reliable object-oriented systems based on analyzing some problems encountered in the C++ programming language. The exceptions are organized into a knowledge sharing inheritance hierarchy and the handlers can be defined within exception classes. This enables the information to be hidden. The separation between the normal codes and the exception handling codes makes the program neat and maintainable. It supports both the termination and the retry model. Binding the exception to the object responsible for its raise can solve the issue of matching the handler relying on only the exception type.
What problem does this paper attempt to address?