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,fd8f3d2ebf73a4b7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-21 09:00:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Whether to raise exception or End_of_List function Date: Wed, 21 Nov 2001 17:00:29 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3BFBDBDC.DC6FA8DE@home.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1006362029 15173 129.241.83.82 (21 Nov 2001 17:00:29 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 21 Nov 2001 17:00:29 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16798 Date: 2001-11-21T17:00:29+00:00 List-Id: On Wed, 21 Nov 2001 16:51:50 GMT, Mark Biggar wrote: > > Even though it may seem redundant, you should have both. You need the > exception to handle illegal list usage notification. But, as a general > rue of thumb for packages of this type, such a package should provide > test functions that pre-test for exceptional conditions so a user can > program around the exception. Hmm. Yes, makes good sense! I was so hung up one either that I didn't think to use both. Thanks. Preben who looks at Winnie the Pooh on his coffe cup pad and starts coding again. :-) -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/