comp.lang.ada
 help / color / mirror / Atom feed
From: Glen <spam@spam.com>
Subject: Re: Exception Propagation
Date: 1999/06/08
Date: 1999-06-08T00:00:00+00:00	[thread overview]
Message-ID: <375CC549.7EDFB885@spam.com> (raw)
In-Reply-To: 7jh857$ej$1@nnrp1.deja.com

dennison@telepath.com wrote:

> In article <b3T63.5112$y6.2934699@WReNphoon3>,
>   cdecker@snet.net (Decker, Christian R) wrote:
> > I have some Ada code that is apparently raising an exception, but the
> > program just seems to hang and does not
> > report the exception as i have seen before.  It looks like the code
> just
> > hangs, but when i put an exception handler
> > around the suspect code the handler gets executed.
>
> That's the behavior I'd expect to see if the exception is occuring in a
> task. The whole program doesn't terminate just because one task dies.

This feature has escaped me, or I have forgot  ( RM95 11.4(4) ), I've
also checked RM83 and found it to be a feature of that language edition.
I would rather the exception was propogated aleast this gives the option
of deciding whether  the program  terminates or not.

Given the RM specification, I think a mandatory "when others" task level
exception handler would be prudent.





  reply	other threads:[~1999-06-08  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-07  0:00 Exception Propagation Decker, Christian R
1999-06-07  0:00 ` dennison
1999-06-08  0:00   ` Glen [this message]
1999-06-08  0:00     ` Robert Dewar
1999-06-09  0:00       ` Matthew Heaney
1999-06-08  0:00         ` R. Tim Coslet
1999-06-09  0:00         ` Robert Dewar
1999-06-09  0:00         ` dennison
1999-06-08  0:00     ` dennison
1999-06-08  0:00     ` Decker, Christian R
1999-06-08  0:00       ` David C. Hoos, Sr.
1999-06-08  0:00       ` Robert Dewar
1999-06-09  0:00       ` dennison
1999-06-14  0:00         ` Robert A Duff
1999-06-14  0:00           ` Bryce Bardin
1999-06-14  0:00           ` dennison
1999-06-15  0:00             ` Robert A Duff
1999-06-15  0:00           ` Dale Stanbrough
1999-06-15  0:00             ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2006-03-15 15:16 Exception propagation REH
2006-03-16 21:29 ` Ludovic Brenta
2006-03-16 22:19   ` REH
2006-03-16 22:51     ` Ludovic Brenta
2006-03-17  2:52       ` REH
2006-03-17 14:52         ` Georg Bauhaus
replies disabled

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