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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8183b99d3c85c57b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 01:09:15 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!usc.edu!news.usc.edu!attla2!ip.att.net!attbi_feed3!attbi.com!attbi_s01.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Handling Exceptions? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.124.41 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s01 1068023353 12.234.124.41 (Wed, 05 Nov 2003 09:09:13 GMT) NNTP-Posting-Date: Wed, 05 Nov 2003 09:09:13 GMT Organization: Comcast Online Date: Wed, 05 Nov 2003 09:09:14 GMT Xref: archiver1.google.com comp.lang.ada:2069 Date: 2003-11-05T09:09:14+00:00 List-Id: > Hence the phrases "end;", "end loop;" , "end if;", and "end > ;" all would also enclose an exception handler. No. Don't think of exception handlers as just some other kind of statements, that you can drop in just ahead of the word "end". Think instead of a "handled sequence of statements" - a set of statements to which the exception handler(s) apply, the word "exception", and the handlers. The end of the "handled sequence of statements" is indeed signalled by the keyword "end", but there is also a beginning to the "handled sequence of statements" and it's a "begin" (or "accept ... do").