From: anh_vo@udlp.com (Anh_Vo)
Subject: Re: [Ann] More Ada0Y packages for Ada95!
Date: 2 Aug 2004 09:31:09 -0700
Date: 2004-08-02T09:31:09-07:00 [thread overview]
Message-ID: <5a59d6a9.0408020831.1b577a18@posting.google.com> (raw)
In-Reply-To: cegjll$o8a$1@hercules.btinternet.com
"Martin Dowie" <martin.dowie@btopenworld.com> wrote in message >
>
> > I would like to make a suggestion regarding exception handler. It
> > would be better to use Raise_Exception (E => Exception_Name'Identity,
> > "useful message") than raise Exception_Name. In fact, it is extremely
> > useful in debugging quickly where the problem comes from.
>
> Do you mean the Ada.Assertions package? Or all the packages? If you mean the
> Ada.Assertions package then they give you exactly what the AI requires. If
> you
> want a message then use the overloaded subprogram that has the "Message"
> parameter.
>
> For Ada.Directories.* I did add quite a few with messages and hopefully they
> are helpful. I think the rest are pretty bare in the exception message
> department
> but I've got time(!) I'll go back and add some where I can.
>
I meant any packages that did not have exception handlers like
Ada.Directories.* had.
next prev parent reply other threads:[~2004-08-02 16:31 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-26 21:44 [Ann] More Ada0Y packages for Ada95! Martin Dowie
2004-07-27 5:59 ` Martin Dowie
2004-07-28 18:00 ` Martin Dowie
2004-07-30 19:50 ` Anh_Vo
2004-07-30 22:08 ` tmoran
2004-07-31 16:03 ` Anh_Vo
2004-07-31 17:08 ` Martin Dowie
2004-08-01 9:38 ` Martin Dowie
2004-08-02 16:31 ` Anh_Vo [this message]
2004-07-31 19:15 ` Martin Dowie
2004-08-02 7:38 ` Jano
2004-08-02 10:02 ` Martin Dowie
2004-08-02 10:25 ` Jano
2004-08-02 12:59 ` Georg Bauhaus
2004-08-02 13:51 ` Martin Dowie
2004-08-02 15:54 ` Georg Bauhaus
2004-08-03 10:09 ` Fortran Interface (Was:Re: [Ann] More Ada0Y packages for Ada95!) Dan Nagle
2004-08-03 12:51 ` Martin Dowie
2004-08-04 10:20 ` Dan Nagle
2004-08-04 15:15 ` Martin Dowie
2004-08-04 16:08 ` Jean-Pierre Rosen
2004-08-05 7:31 ` Martin Dowie
2004-08-05 8:18 ` Jean-Pierre Rosen
2004-08-05 9:42 ` Martin Dowie
2004-08-05 10:24 ` Martin Dowie
2004-08-06 8:21 ` Ken Thomas
2004-08-03 14:39 ` Wes Groleau
2004-08-03 18:15 ` Fortran Interface Georg Bauhaus
2004-08-04 10:21 ` Dan Nagle
2004-08-04 15:35 ` Georg Bauhaus
2004-08-05 10:05 ` Dan Nagle
2004-08-06 11:46 ` Dr Steve Sangwine
2004-08-19 4:02 ` [Ann] More Ada0Y packages for Ada95! Jano
2004-08-19 7:44 ` Martin Dowie
2004-08-19 15:18 ` Jano
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox