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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee1a8b8db84c88f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada exception block does NOT work? References: <4301ab29$0$6989$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 18 Aug 2005 01:05:50 GMT NNTP-Posting-Host: 4.240.150.144 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1124327150 4.240.150.144 (Wed, 17 Aug 2005 18:05:50 PDT) NNTP-Posting-Date: Wed, 17 Aug 2005 18:05:50 PDT Xref: g2news1.google.com comp.lang.ada:4155 Date: 2005-08-18T01:05:50+00:00 List-Id: Maciej Sobczak wrote: > Jeffrey R. Carter wrote: > >> In Ada, exceptions are raised and handled, not thrown and caught. > > Interesting distinction. Would you please elaborate a little bit? Ada has had exceptions, well integrated with the rest of the language, since Ada 80. Ada's terminology is that exceptions are raised and handled. If you use other terminology in an Ada context, you run the risk of "failure to communicate". The throw/catch/try kludge came when exceptions were grafted onto C++, which did not originally have them (or several other Ada features later grafted on) in 1982. -- Jeff Carter "Monsieur Arthur King, who has the brain of a duck, you know." Monty Python & the Holy Grail 09