comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Handling Exceptions?
Date: Wed, 05 Nov 2003 09:09:14 GMT
Date: 2003-11-05T09:09:14+00:00	[thread overview]
Message-ID: <Z63qb.110204$HS4.951148@attbi_s01> (raw)
In-Reply-To: pan.2003.11.05.07.03.50.808072.762@nospam.net

> Hence the phrases  "end;", "end loop;" , "end if;", and "end
> <procedure | function>;" 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").



  reply	other threads:[~2003-11-05  9:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04 21:13 Handling Exceptions? Freejack
2003-11-05  0:13 ` Ludovic Brenta
2003-11-05  0:20   ` Ludovic Brenta
2003-11-05  6:57     ` Freejack
2003-11-05  9:09       ` tmoran [this message]
2003-11-05 12:33       ` David C. Hoos
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox