From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,99e2dadd49ce1936 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,99e2dadd49ce1936 X-Google-Attributes: gid1108a1,public X-Google-Thread: f8131,eb3e9661312f3b5e,start X-Google-Attributes: gidf8131,public X-Google-Thread: 101deb,bae41b8b09f58ec1 X-Google-Attributes: gid101deb,public X-Google-Thread: 103376,99e2dadd49ce1936 X-Google-Attributes: gid103376,public X-Google-Thread: 107d55,99e2dadd49ce1936 X-Google-Attributes: gid107d55,public From: rav@goanna.cs.rmit.edu.au (Robin Vowels) Subject: Re: Exception Handling Date: 1996/09/23 Message-ID: <525m1s$jvh@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 184806092 expires: 1 January 1997 00:00:00 GMT distribution: inet references: <323750EA.167E@maths.usyd.edu.au> <51jtet$16qc@watnews1.watson.ibm.com> organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: comp.object,comp.lang.java.tech,comp.lang.c++,comp.lang.ada,comp.lang.asm370,comp.lang.pl1 nntp-posting-user: rav Date: 1996-09-23T00:00:00+00:00 List-Id: ncohen@watson.ibm.com (Norman H. Cohen) writes: >In article <323750EA.167E@maths.usyd.edu.au>, Robbie Gates > writes: >|> Where did the concept of exception handling originate ? For example, >|> which languages were first to support this, or which papers first >|> proposed exception handling ? The IBM System 360 (c. 1965) had an interrupt system that could trap a range of computational conditions (division by zero, floating-point overflow, fixed-point overflow, floating-point underflow, loss of signficance, etc. Such exceptions could be trapped by the OS, and a few could be trapped by the user. Such things as protection exceptions were trapped by the OS. Operating system service was initiated with an interrupt generated by a user instruction SVC (SVC = SuperVisor Call). THe S/360 probably extended the idea considerably over what had appeared before. Before that (c. 1961), the Burroughs B series would have had protection and array subscript bound checking and whatever else. Perhaps someone can add something for that or other systems....