From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Structured exception information From: Georg Bauhaus In-Reply-To: References: <1169819196.5976.57.camel@localhost.localdomain> <1170010221.6748.194.camel@localhost.localdomain> <1170269889.28280.69.camel@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-Id: <1170339424.14376.15.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Thu, 01 Feb 2007 15:17:04 +0100 NNTP-Posting-Date: 01 Feb 2007 15:16:53 CET NNTP-Posting-Host: 8828a8a4.newsspool3.arcor-online.net X-Trace: DXC=`:Yl8@Qc?1IAa;:RKVJ>LEMcF=Q^Z^V3H4Fo<]lROoRAgUcjd<3m<;BI`iOhnSRLJEPCY\c7>ejVHP365SLeck;n3iUC X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8815 Date: 2007-02-01T15:16:53+01:00 List-Id: On Thu, 2007-02-01 at 07:20 -0500, Stephen Leake wrote: > Georg Bauhaus writes: > > > On Mon, 2007-01-29 at 21:15 -0500, Stephen Leake wrote: > > > >> Have you worked on a real system where this approach was used, and was > >> in fact better than having the programmers write the error messages? > > > > I worked ... > > > > [Some] people didn't ... > > Ok, so the answer to my question is "no". Well, actually, there have been at least two programmers who did try to write meaningful exception messages and who have derived an exception type. The objects were used in handlers further out in the call chain. Changing the software to have better error handling had made us find out about a few obscure behaviors of the software, of course. The original developer had left, so we couldn't ask him about the whys and whens of the silent handlers. > So I'm talking about having control over the _entire_ system, and you > are talking about third party libraries. That is different. OK, but talking about third party Ada libraries makes sense when discussing exception types as they will be additions to Ada, a language for large distributed systems?