An efficient and reliable object-oriented exception handling mechanism

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.

[1]  George Eckel Inside Windows NT , 1993 .

[2]  Morten Christensen Methods for Handling Exceptions in Object-oriented Programming Languages , 1995 .

[3]  Takaichi Yoshida,et al.  Concurrent exception handling in a distributed object-oriented computing environment , 2000, Proceedings Seventh International Conference on Parallel and Distributed Systems: Workshops.

[4]  Christophe Dony,et al.  Proceedings of International Workshop on Exception Handling in Object Oriented Systems: Towards Emerging Application Areas and New Programming Paradigms Workshop , 2003 .

[5]  Ding Yu EXCEPTION HANDLING IN JAVA VIRTUAL MACHINE , 2000 .

[6]  Christophe Dony A Fully Object-Oriented Exception Handling System: Rationale and Smalltalk Implementation , 2000, Advances in Exception Handling Techniques.

[7]  Qian Cui,et al.  Data-Oriented Exception Handling , 1992, IEEE Trans. Software Eng..

[8]  Edward K. N. Yung,et al.  Exception handling in C++ without language extension , 1993, Proceedings of TENCON '93. IEEE Region 10 International Conference on Computers, Communications and Automation.

[9]  Flaviu Cristian,et al.  Exception Handling and Software Fault Tolerance , 1982, IEEE Transactions on Computers.

[10]  Guy L. Steele,et al.  Java Language Specification, Second Edition: The Java Series , 2000 .

[11]  John B. Goodenough,et al.  Exception handling: issues and a proposed notation , 1975, CACM.

[12]  David B. Stewart,et al.  A study of the applicability of existing exception-handling techniques to component-based real-time software technology , 1998, TOPL.

[13]  Steven J. Drew,et al.  Implementing Zero Overhead Exception Handling , 1995 .

[14]  Anand R. Tripathi,et al.  Issues with Exception Handling in Object-Oriented Systems , 1997, ECOOP.

[15]  Guy L. Steele,et al.  The Java Language Specification , 1996 .

[16]  James Gosling The Java Language Specification - Second Edition , 2000 .

[17]  Helen Custer,et al.  Inside Windows NT , 1992 .