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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d303864ae4c70ad X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-12 18:32:43 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: exception parameters Date: Mon, 12 Apr 2004 20:30:59 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <107mgn38bogfubc@corp.supernews.com> References: <5ad0dd8a.0404090512.15af2908@posting.google.com><5ad0dd8a.0404091828.6e79bb4e@posting.google.com><5ad0dd8a.0404100735.7b2a8317@posting.google.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:7029 Date: 2004-04-12T20:30:59-05:00 List-Id: "Stephen Leake" wrote in message news:mailman.247.1081817939.327.comp.lang.ada@ada-france.org... ... > Yes, you _could_ do it that way. But embedding the information in the > exception message is better; there are no global variables involved, > so there are no tasking issues. It would be even better if you could > embed a type other than string, but that's not as much gain. Right, which is why the ARG decided not to pursue enhancements in this area. There was a nice proposal, but it ran into the lifetime issues mentioned previously, and also had bizzare effects on the Ada.Exceptions package (we don't want to make existing Ada code wrong!) and we ran out of energy to address this. The "range of exceptions" idea was part of that proposal, and I was sorry to see that go, but it just didn't seem important enough. Randy.