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 10:20:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!82-43-33-75.cable.ubr01.croy.blueyonder.co.UK!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Ada 0x, exception idea ? Date: Sun, 27 Jul 2003 18:22:11 +0100 Message-ID: References: <3F229597.3090909@myob.com> NNTP-Posting-Host: 82-43-33-75.cable.ubr01.croy.blueyonder.co.uk (82.43.33.75) X-Trace: news.uni-berlin.de 1059326411 20823915 82.43.33.75 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:40872 Date: 2003-07-27T18:22:11+01:00 List-Id: "sk" wrote in message news:mailman.6.1059321078.320.comp.lang.ada@ada.eu.org... > Are you actually refering to chapter 12 and package Ada.Exceptions ? > ("Ada95 Reference Manual" supplied with GNAT 3.15p documentaion) RM95 11.4.1 The Package Exceptions. > If so, I was refering to an Integer type error code value rather > than attaching a string message using the Raise_Exception procedure. 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.) -- Nick Roberts Jabber: debater@charente.de [ICQ: 159718630]