From: Ted Dennison <dennison@escmail.orl.lmco.com>
Subject: When to raise predefined exceptions (was: Ada and the Automotive Industry)
Date: 1996/12/20
Date: 1996-12-20T00:00:00+00:00 [thread overview]
Message-ID: <32BA9772.2781E494@escmail.orl.lmco.com> (raw)
In-Reply-To: mazzanti-0512961053010001@131.114.200.115
Robert I. Eachus wrote:
>
> So my rule on explicitly raising predefined exceptions is that I
> will raise them either if the meaning is the predefined meaning of
> that exception, or if suppression of a language defined check, either
> explicitly or through 11.6, will potentially suppress the exception.
I guess that is what I was getting at. There have been times where I
wanted to consider certian values out of range for a type, but the only
way to do it was to explicitly check for those values. It seemed
pointless to create a new exception to raise, when any reasonable
handler for this situation would just have to handle *both*
Constraint_Error and my new exception.
--
T.E.D.
| Work - mailto:dennison@escmail.orl.lmco.com |
| Home - mailto:dennison@iag.net |
| URL - http://www.iag.net/~dennison |
prev parent reply other threads:[~1996-12-20 0:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-05 0:00 Ada and Automotive Industry Franco Mazzanti
1996-12-06 0:00 ` Robert Dewar
1996-12-11 0:00 ` Robert I. Eachus
1996-12-13 0:00 ` Ted Dennison
1996-12-15 0:00 ` Robert Dewar
1996-12-17 0:00 ` Tucker Taft
1996-12-18 0:00 ` Keith Thompson
1996-12-18 0:00 ` Keith Thompson
1996-12-18 0:00 ` Robert A Duff
1996-12-18 0:00 ` Robert Dewar
1996-12-18 0:00 ` Robert A Duff
1996-12-18 0:00 ` Ken Garlington
1996-12-19 0:00 ` Robert A Duff
1996-12-20 0:00 ` Philip Brashear
1996-12-20 0:00 ` Robert Dewar
1996-12-22 0:00 ` Robert Dewar
1996-12-23 0:00 ` Ken Garlington
1996-12-18 0:00 ` Geert Bosch
1996-12-17 0:00 ` Robert I. Eachus
1996-12-20 0:00 ` When to raise predefined exceptions (was: Ada and the Automotive Industry) James Rogers
1996-12-22 0:00 ` Robert Dewar
1996-12-20 0:00 ` Ted Dennison [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox