comp.lang.ada
 help / color / mirror / Atom feed
* Exception
@ 2005-09-08 16:54 TC
  2005-09-08 17:06 ` Exception Pascal Obry
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: TC @ 2005-09-08 16:54 UTC (permalink / raw)


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
                   when Error : Constraint_Error | Data_Error =>
                   Put ("Si ᅵ verificato un errore: ");
                   Put_Line (Ada.Exceptions.Exception_Name(Error));
                   when Error : others=>
                   Put ("Si ᅵ verificato un errore: ");
                   Put_Line (Ada.Exceptions.Exception_Name(Error));
                     raise;
end testo;



^ permalink raw reply	[flat|nested] 9+ messages in thread
* exception
@ 1998-11-18  0:00 alex
  0 siblings, 0 replies; 9+ messages in thread
From: alex @ 1998-11-18  0:00 UTC (permalink / raw)


How to i treat exception and redirect them inside the program ?




^ permalink raw reply	[flat|nested] 9+ messages in thread
* exception
@ 1998-10-30  0:00 Pablo Campo
  1998-10-30  0:00 ` exception Corey Ashford
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Pablo Campo @ 1998-10-30  0:00 UTC (permalink / raw)


I am a programmer of ADA and I use the Alsys Active ADA envirotment
version 5.3

I am making a proyect full of tasking and interrupts (for example I
manage the clock interrupt) and my problem is that  my program breaks
down in execution time and the only information  I recive is "Program
terminated. Unhandled exception".
Yesterday, I spent all the morning handling exceptions in all tasks and
subprograms but the result was the same.
�What can I do for obtain more information of the problem?

Nacho - A spanish enginier student.





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

end of thread, other threads:[~2005-09-08 18:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-08 16:54 Exception TC
2005-09-08 17:06 ` Exception Pascal Obry
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

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