From: Michal Nowikowski <godfryd@zamek.gda.pl>
Subject: not handled exceptions
Date: Fri, 22 Mar 2002 18:40:06 +0100
Date: 2002-03-22T18:40:06+01:00 [thread overview]
Message-ID: <pan.2002.03.22.18.40.05.457489.4682@zamek.gda.pl> (raw)
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 <godfryd@zamek.gda.pl>
| BOFH excuse #360: Your parity check is overdrawn and you're out
| of cache.
next reply other threads:[~2002-03-22 17:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-22 17:40 Michal Nowikowski [this message]
2002-03-23 0:42 ` not handled exceptions Greg Bek
2002-03-23 7:09 ` Wilhelm Spickermann
2002-03-23 9:36 ` Ingo Marks
2002-03-23 13:40 ` Michal Nowikowski
2002-03-23 11:52 ` Robert Dewar
2002-03-23 13:39 ` Michal Nowikowski
2002-03-23 15:13 ` Steve Doiel
2002-03-23 17:32 ` tmoran
2002-03-23 22:04 ` Michal Nowikowski
2002-03-23 23:37 ` Steve Doiel
2002-03-24 6:47 ` Michal Nowikowski
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox