comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Common Error/Exception Handler
Date: 1996/04/19
Date: 1996-04-19T00:00:00+00:00	[thread overview]
Message-ID: <Dq4p9v.Jv3@world.std.com> (raw)
In-Reply-To: 4l8d5i$31g@news.sanders.lockheed.com

In article <4l8d5i$31g@news.sanders.lockheed.com>,
John Cupak  <jcupak@isd99.sanders.lockheed.com> wrote:
>Wouldn't it be possible with the Ada 95 exception mechanisms to create a
>package of standard exceptions and a common error message procedure,
>import/rename the exceptions where appropriate, and let the common error
>message procedure take care of the details? 

I suppose it's possible, but it doesn't seem desirable.  The abstraction
in question ought to define what sort of things are errors, and what
exceptions are therefore raised.  Clients can then decide how to handle
those errors.  Why do you think this information ought to be more
global?

- Bob




  reply	other threads:[~1996-04-19  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-19  0:00 Common Error/Exception Handler John Cupak
1996-04-19  0:00 ` Robert A Duff [this message]
1996-04-22  0:00   ` Laurent Guerby
1996-04-22  0:00   ` John Cupak
1996-04-23  0:00 ` Michel Gauthier
1996-04-24  0:00 ` Michel Gauthier
1996-05-04  0:00   ` LJMetzger
1996-05-04  0:00     ` Theodore E. Dennison
1996-05-08  0:00       ` John English
1996-05-10  0:00         ` Theodore E. Dennison
1996-05-09  0:00   ` Jon S Anthony
1996-05-10  0:00     ` John English
1996-05-10  0:00       ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1996-04-24  0:00 tmoran
replies disabled

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