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-Thread: 103376,61e9062c1f23b9d5 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Fri, 08 Jun 2007 14:26:55 +0300 Subject: Re: contracted exceptions From: "Martin Krischik" Organization: Never Organised Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Newsgroups: comp.lang.ada References: <1181165630.012508.55290@i38g2000prf.googlegroups.com> <19fxsxv1god43$.1pqq8vgfu2itn$.dlg@40tude.net> Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.21 (Win32) NNTP-Posting-Host: 213.154.202.27 X-Trace: news.sunsite.dk DXC=LFf>ea3i_mV8AmV=S2QQ[\YSB=nbEKnk[f2;89Q0P2=RS5daR30PdPUV:_8RJBabH];O^i0GOe`^Sofe`J\FNoJP>E2hPn_MC:R X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com comp.lang.ada:16102 Date: 2007-06-08T14:26:55+03:00 List-Id: Am 08.06.2007, 05:19 Uhr, schrieb Randy Brukardt : > It's fairly clear that the default for Ada would have to be to let > exceptions propagate (for compatibility with existing code, if for no > other > reason). That might actually be the rule change that fixes the Java > problems, but it also would make any contracts not particularly relevant. Which is how C++ does it - and it did nor work! Legacy libraries then come with out contracted exceptions and that makes it almost impossible to use contracted exceptions in your own code. Trust me: I tried and failed. Martin