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,9b2046241520981f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-27 16:33:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!usenet From: "John R. Strohm" Newsgroups: comp.lang.ada Subject: Re: Ada 0x, exception idea ? Date: Sun, 27 Jul 2003 18:04:23 -0500 Organization: Airnews.net! at Internet America Message-ID: References: <3F229597.3090909@myob.com> Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library1-aux.airnews.net NNTP-Posting-Time: Sun, 27 Jul 2003 18:31:32 -0500 (CDT) NNTP-Posting-Host: !\9K\1k-Vblfm2T (Encoded at Airnews!) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:40878 Date: 2003-07-27T18:04:23-05:00 List-Id: "sk" wrote in message news:mailman.7.1059334209.320.comp.lang.ada@ada.eu.org... > nickroberts@blueyonder.co.uk: > > RM95 11.4.1 The Package Exceptions. > > Interesting, > > " ADA REFERENCE MANUAL > " > " Language and Standard Libraries > " > " Version 6.0 > > Which resides in ".../gnat-3.15p-unx-docs/html/arm95.html" > > " 12.4.1 The Package Exceptions > > ... so it would seem that there are different LRM's floating > about which I will have to track down :-( > > > > I think the idea is that you encode the integer into the string, > > and decode it out again, if need be. Certainly not elegant, but > > workable. (Speed is unlikely to be a concern.) > > Yuck :-) Exceptions are NOT intended to be used for "normal" situations. They are intended to be used for HIGHLY UNUSUAL situations, that MUST be dealt with.