comp.lang.ada
 help / color / mirror / Atom feed
* Exception handler does not catch an exception
@ 2009-06-08  3:19 Rick
  2009-06-08  5:16 ` anon
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Rick @ 2009-06-08  3:19 UTC (permalink / raw)


I am using an exception handler in the mainline of my program:

exception
   when Error : PROGRAM_ERROR =>
      Put_Line (Exception_Message (Error));
      Get_Line (Line, Last);
   when Another_Error : others =>
      Put_Line (Exception_Message (Another_Error));
      Get_Line (Line, Last);
end Phone_Keyboard;

but I still get an error message:

D:\ProgrammingFiles\Widgets\PhoneKeyboard\Phone_Keyboard

Execution terminated by unhandled exception
Exception name: PROGRAM_ERROR
Message: EXCEPTION_ACCESS_VIOLATION
Call stack traceback locations:
0x4483c5 0x7c9032a6 0x7c903278 0x7c90e488 0x407289 0x4017f2 0x401235
0x401286 0x7c817075
[2009-06-08 10:48:19] process exited with status1 (elapsed time:
03.28s)


Why is my exception handler not handling the exception?



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-14 14:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-08  3:19 Exception handler does not catch an exception Rick
2009-06-08  5:16 ` anon
2009-06-08  7:21   ` rickduley
2009-06-08 11:40     ` anon
2009-06-08  7:37 ` Ludovic Brenta
2009-06-09 10:50   ` Stephen Leake
2009-06-09  2:01 ` rickduley
2009-06-09  7:26   ` Dmitry A. Kazakov
2009-06-10 10:06   ` Stephen Leake
2009-06-14 14:12 ` Alex R. Mosteo

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