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=2.1 required=5.0 tests=BAYES_20,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: 103376,99e2dadd49ce1936 X-Google-Attributes: gid103376,public X-Google-Thread: 107d55,99e2dadd49ce1936 X-Google-Attributes: gid107d55,public X-Google-Thread: 1108a1,99e2dadd49ce1936 X-Google-Attributes: gid1108a1,public From: Bart Termorshuizen Subject: Re: Exception Handling Date: 1996/09/18 Message-ID: <323FF7D6.72E5@dds.nl>#1/1 X-Deja-AN: 181386062 references: <323750EA.167E@maths.usyd.edu.au> <32393072.72033128@shdgate.shd.de> <51br5k$aeh@trotsky.cig.mot.com> content-type: text/plain; charset=us-ascii organization: Knoware Internet mime-version: 1.0 reply-to: btermors@dds.nl newsgroups: comp.object,comp.lang.java.tech,comp.lang.c++,comp.lang.ada x-mailer: Mozilla 3.0 (Win95; I) Date: 1996-09-18T00:00:00+00:00 List-Id: David B. Shapcott [C] wrote: > > In article <32393072.72033128@shdgate.shd.de>, > Felix Kasza wrote: > >Robbie, > > > > > replies by email please, i don't read this group. > > > >Not feeling very sociable today, are we? > > > > > Where did the concept of exception handling originate ? > > > >I don't know -- but I do know that IBM's /360 architecture uses a > >mechanism for OS calls which looks very much like a trap. PDPs used > >similar features to handle illegal memory references. In the late 60s > >or early 70s, I saw an APL interpreter for the PDP that expressly made > >use of this although it didn't export the functionality to the > >programmer (APL has no concept of an exception). > > I've heard that the Babbage Engine had an ingenious exception mechanism > consisting of a cog and spring-loaded trip mechanism, that would activate > a rod releasing a steel ball-brearing down a raceway. The weight of the > ball bearing was the value of the exception being thrown (for some time, > Babbage had actually considered a throwing arm mechanism, but found that > his mechanism could not be made accurate -- but this does provide an > interesting historical account for the phrase `throwing an exception'). > > -- > D. Brad Shapcott [C] > Contractor, Motorola Cellular Infrastructure Group Way to go! ;) Bart.