EXCEPTION HANDLING IN CLU

被引:81
作者
LISKOV, BH
SNYDER, A
机构
[1] Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge
[2] Hewlett-Packard Corporation, Palo Alto
关键词
exit mechanisms; Index Terms-Exception handling; procedural abstractions; programming languages; structured programming;
D O I
10.1109/TSE.1979.230191
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
For programs to be reliable and fault tolerant, each program module must be defined to behave reasonably under a wide variety of circumstances. An exception handling mechanism supports the construction of such modules. This paper describes an exception handling mechanism developed as part of the CLU programming language. The CLU mechanism is based on a simple model of exception handling that leads to well-structured programs. It is engineered for ease of use and enhanced program readability. This paper discusses the various models of exception handling, the syntax and semantics of the CLU mechanism, and methods of implementing the mechanism and integrating it in debugging and production environments. Copyright © 1979 by The Institute of Electrical and Electronics Engineers, Inc.
引用
收藏
页码:546 / 558
页数:13
相关论文
共 9 条
  • [1] Bochmann G.V., Multiple exits from a loop without the GOTO, Commun. Ass. Comput. Mach., 16, pp. 443-444, (1973)
  • [2] Goodenough J.B., Exception handling: Issues and a proposed notation, Commun. Ass. Comput. Mach., 18, pp. 683-696, (1975)
  • [3] Levin R., Program structures for exceptional condition handling, (1977)
  • [4] Liskov B., Snyder A., Atkinson R., Schaffert C., Abstraction mechanisms in CLU, Commun. Ass. Comput. Mach., 20, pp. 564-576, (1977)
  • [5] Proc. ACM Conf. on Language Design for Reliable Software, SIGPLAN Notices, 12, (1977)
  • [6] Mitchell J.G., Maybury W., Sweet R., Mesa language manual, (1978)
  • [7] Melliar-Smith P.M., Randell B., Software reliability: The role of programmed exception handling, Proc. ACM Conf. on Language Design for Reliable Software, SIGPLAN Notices, 12, pp. 95-100, (1977)
  • [8] Randell B., System structure for software fault tolerance, IEEE Trans. Software Eng., SE-1, pp. 220-232, (1975)
  • [9] Zahn C.T., A control statement for natural top-down structured programming, Programming Symposium, Lecture Notes in Computer Science, 19, pp. 170-180, (1974)