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,462a4f123e2d4476,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-22 09:41:49 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!157.25.192.109.MISMATCH!news.ipartners.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: Michal Nowikowski Newsgroups: comp.lang.ada Subject: not handled exceptions Date: Fri, 22 Mar 2002 18:40:06 +0100 Organization: tp.internet - http://www.tpi.pl/ Message-ID: NNTP-Posting-Host: zamek.gda.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.tpi.pl 1016818889 26877 62.89.105.194 (22 Mar 2002 17:41:29 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 22 Mar 2002 17:41:29 +0000 (UTC) X-Comment-To: ALL User-Agent: Pan/0.11.2 (Unix) Xref: archiver1.google.com comp.lang.ada:21548 Date: 2002-03-22T18:40:06+01:00 List-Id: Hello I've got problem with exceptions. It is my code: declare D : Integer_Array_Access; begin -- D is not allocated, so such call should raise -- Constraint_Error exception: D(3) := 5; end; but program does not throw exception instead it hangs. When I do: begin D(3) := 5; exception Constraint_Error => put_line("exception raised"); end; the exception is raised and message is seen - program continue execution. I use Gnat 3.14 on Linux box. Have You any idea how to solve this problem? Best regards Godfryd -- | Michal Nowikowski | BOFH excuse #360: Your parity check is overdrawn and you're out | of cache.