comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: TC <tecomeco@inwind.it>
Subject: Re: Exception
Date: Thu, 08 Sep 2005 19:06:41 +0200
Date: 2005-09-08T19:06:43+02:00	[thread overview]
Message-ID: <43206FA1.8030105@obry.net> (raw)
In-Reply-To: <z1_Te.53963$HM1.1508226@twister1.libero.it>

TC a ï¿œcrit :
> Why if an error is present no one of exception is write?
> I create an array index exception for testing.
> 
> procedure Testo is
> Begin
> ....
> exception

Because the special Ada command "..." is equivalent to C "exit(0)", in
other words it says exit now and do not pass through the exception handlers.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2005-09-08 17:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-08 16:54 Exception TC
2005-09-08 17:06 ` Pascal Obry [this message]
2005-09-08 17:20 ` Exception Martin Krischik
2005-09-08 18:21 ` Exception Georg Bauhaus
  -- strict thread matches above, loose matches on Subject: below --
1998-11-18  0:00 exception alex
1998-10-30  0:00 exception Pablo Campo
1998-10-30  0:00 ` exception Corey Ashford
1998-10-31  0:00 ` exception Jerry van Dijk
1998-11-03  0:00 ` exception Steve Quinlan
replies disabled

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