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,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-16 17:57:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-out.newsfeeds.com!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!feed.newsfeeds.com!newsfeed.onecall.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: ada paper critic Date: 16 Jun 2002 19:57:39 -0600 Organization: LJK Software Message-ID: References: <3D095F70.8090001@telepath.com> <3D0A3B59.4A4B9E04@acm.org> <3D0D0F4A.FCB346CD@despammed.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1024275419 31975 192.135.80.34 (17 Jun 2002 00:56:59 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 17 Jun 2002 00:56:59 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:26107 Date: 2002-06-16T19:57:39-06:00 List-Id: In article <3D0D0F4A.FCB346CD@despammed.com>, Wes Groleau writes: > > >> the Ada intent is that the information be carried primarily by the >> exception name. You should not be using a single exception and >> differentiating between logical exceptions by the information attached >> to that exception. > > Indeed you shouldn't. You should use a single exception > and differentiate by information dropped into a global > ErrNo. > > :-) You can save the overhead of exception processing by just programming the application to poll ErrNo at appropriate times. also :-)