From -1323683357590518490
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,9723061da44e5214
X-Google-Attributes: gidf78e5,public
From: "Paul D. DeRocco" <pderocco@ix.netcom.com>
Subject: Re: Exception while throwing an exception?
Date: 1999/09/08
Message-ID: <37D5F815.5370E6D1@ix.netcom.com>#1/1
X-Deja-AN: 522446501
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <37D3E50E.A13D8AFC@prodigy.net> <slrn7t8m3o.too.sbnaran@localhost.localdomain>
X-Original-Date: Wed, 08 Sep 1999 01:45:57 -0400
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: ariel.ucs.unimelb.edu.au 936778354 21610 128.250.37.153 (8 Sep 1999 08:12:34 GMT)
Organization: Vast Right-Wing Conspiracy
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN9Yaa+EDnX0m9pzZAQFYEAF8DqeetqWF/Cl0lsV3GqId+LrFOr5jkGym DSs3IQJJNvFnJ8VZxNsXUVVZjhufQgO9 =swIt
Mime-Version: 1.0
NNTP-Posting-Date: 8 Sep 1999 08:12:34 GMT
Newsgroups: comp.std.c++

"Siemel B. Naran" wrote:
> 
> On 6 Sep 1999 20:53:57 GMT, Andy Larson <AndyLarson@prodigy.net> wrote:
> 
> >What is the required behavior when the constructor of an exception
> >object throws an exception?  For example, if an exception is thrown as
> >in
> 
> The required behaviour is a call to std::terminate().

I disagree. 15.5.1 only says that terminate() will be called if a second
exception is thrown once an exception has been thrown, which hasn't yet
happened if the constructor of an object to be thrown generates its own
exception.

-- 

Ciao,                       Paul D. DeRocco
Paul                        mailto:pderocco@ix.netcom.com
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



