comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: Handling Exceptions?
Date: Wed, 5 Nov 2003 06:33:13 -0600
Date: 2003-11-05T06:33:13-06:00	[thread overview]
Message-ID: <746qb.32462$BX.26687@bignews5.bellsouth.net> (raw)
In-Reply-To: pan.2003.11.05.07.03.50.808072.762@nospam.net

Read the Ada95 Reference Manual, sections 11.4 through 11.4.2 for a
discussion of exception handling with example.

"Freejack" <user@nospam.net> wrote in message
news:pan.2003.11.05.07.03.50.808072.762@nospam.net...
> On Tue, 04 Nov 2003 19:20:48 -0500, Ludovic Brenta wrote:
>
> > And, I might add, I personally recommend you use Emacs with ada-mode,
> > which indents automatically for you as you type.  I have been heard to
> > say "There is only one editor, but Vim is the other" :)
> >
> > (and yes, I write this in Emacs using Gnus).
>
> Thanks.
>
> It seems I was more than a little fuzzy on exceptions.
>
> It appears that the end of an exception handler is denoted by the "end"
> keyword. Sort of the way a military drill instructor denotes stopping by
> the word "Halt!".
> Hence the phrases  "end;", "end loop;" , "end if;", and "end
> <procedure | function>;" all would also enclose an exception handler. An
> exception handler has scope throughout the entire declared section unless
> propogated.
>
> Is my understanding correct here?
>
> Thanks for the clarification.
>
> Freejack.
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
>




      parent reply	other threads:[~2003-11-05 12:33 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
2003-11-05 12:33       ` David C. Hoos [this message]
replies disabled

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