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,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Structured exception information Date: Sun, 21 Jan 2007 18:51:22 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1169423482 860 192.74.137.71 (21 Jan 2007 23:51:22 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 21 Jan 2007 23:51:22 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:kCCwPLBFF7uQY1y0SYo0lg2+g38= Xref: g2news2.google.com comp.lang.ada:8388 Date: 2007-01-21T18:51:22-05:00 List-Id: "Dmitry A. Kazakov" writes: > On Sat, 20 Jan 2007 17:07:18 -0500, Robert A Duff wrote: > >> The truth is, the interactions between exceptions and finalization are >> nasty, and hard to get right. > > Yes. I wondering, isn't it the *same* problem as with Storage_Error? Please remind me which Storage_Error problem we're talking about. There are language problems with Storage_Error (you can't know what data was half-baked at the point of running out of memory). But perhaps you're referring to something else? > I remember you had some ideas on how to approach it. Maybe it would also > work for exceptions from constructors? - Bob