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,75acee3087250584 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!in2p3.fr!oleane.net!oleane!rain.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <43206FA1.8030105@obry.net> Date: Thu, 08 Sep 2005 19:06:41 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en MIME-Version: 1.0 Newsgroups: comp.lang.ada To: TC Subject: Re: Exception References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 08 Sep 2005 19:06:43 CEST NNTP-Posting-Host: 82.124.114.207 X-Trace: 1126199203 news.wanadoo.fr 27427 82.124.114.207:3689 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:4531 Date: 2005-09-08T19:06:43+02:00 List-Id: 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