|
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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
F. Cristian. Exception handling. In: Dependability of Resilient Computers. Blackwell Scientific Publications, 68-97, 1989.
|
 |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
James Gosling , Bill Joy , Guy Steele , Gilad Bracha, Java Language Specification, Second Edition: The Java Series, Addison-Wesley Longman Publishing Co., Inc., Boston, MA, 2000
|
| |
6
|
P. A. Buhr, R. Krischer. Bound exceptions in object programming. In: Exception Handling in Object Oriented Systems: Towards Emerging Application Areas and New Programming Paradigms Workshop, July 21, 2003, ECOOP 2003, Germany, 20--26, 2003.
|
| |
7
|
|
| |
8
|
R. S. K. Wong, et al. Exception handling in C++ without language extension. Proc of TENCON'93, 411--414, 1993.
|
| |
9
|
|
| |
10
|
|
| |
11
|
|
| |
12
|
|
 |
13
|
|
| |
14
|
F. Cristian. Exception handling and software fault tolerance. IEEE Trans. Comput. C-31, 6,531--540.
|
| |
15
|
|
| |
16
|
V. Kochhar. How a C++ compiler implements exception handling. http://www.codeproject.com/cpp/exceptionhandler.asp
|
| |
17
|
M. M. Christensen. Methods for handling exceptions in object-oriented programming languages. {Master dissertation}. Odense University, Odense, Denmark, 1995.
|
| |
18
|
Yu-xin Ding, Hu Cheng. Exception handling in Java virtual machine. Chinese Journal of computer research & development. 37(5), 622--626, 2000.
|
| |
19
|
S. Drew, K. J. Gough, J. Ledermann. Implementing zero overhead exception handling. Technical Report 95-12, Faculty of Information Technology, Queensland University of Technology, Brisbane, Australia, 1995.
|
| |
20
|
R. Miller, A. Tripathi. Issues with exception handling in object-oriented systems. In: ECOOP'97 proceedings, Lecture Notes in Computer Science, Vol. 1241, Mehmet Aksit and Satoshi Matsuoka editors, Springer-Verlag, 85-103, 1997.
|
|