From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Exception Propagation
Date: 1999/06/08
Date: 1999-06-08T00:00:00+00:00 [thread overview]
Message-ID: <7jk1c1$t8$1@nnrp1.deja.com> (raw)
In-Reply-To: 375CC549.7EDFB885@spam.com
In article <375CC549.7EDFB885@spam.com>,
spamwithchipsplease@spam.com wrote:
> 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.
Propagated to where? There really is no possibility of
propagation (you certainly do not want to introduce asynchronous
exceptions for this purpose!)
I would have preferred that an unhandled exception in a task
caused termination of the entire program, you can always get
the bizarre effect in the RM if you really want it by doing:
exception when others => null;
at the outer level of a task
> Given the RM specification, I think a mandatory "when others"
> task level exception handler would be prudent.
Check your compiler, it may have an option for handling this
error situation nicely. But in general, yes, that's a good idea
(mandatory when others at the top level of a task).
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next prev parent 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
1999-06-08 0:00 ` Decker, Christian R
1999-06-08 0:00 ` Robert Dewar
1999-06-08 0:00 ` David C. Hoos, Sr.
1999-06-09 0:00 ` dennison
1999-06-14 0:00 ` Robert A Duff
1999-06-14 0:00 ` dennison
1999-06-15 0:00 ` Robert A Duff
1999-06-14 0:00 ` Bryce Bardin
1999-06-15 0:00 ` Dale Stanbrough
1999-06-15 0:00 ` Robert A Duff
1999-06-08 0:00 ` dennison
1999-06-08 0:00 ` Robert Dewar [this message]
1999-06-09 0:00 ` Matthew Heaney
1999-06-08 0:00 ` R. Tim Coslet
1999-06-09 0:00 ` dennison
1999-06-09 0:00 ` Robert Dewar
-- 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