delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/28/20:15:08

From: "Rafal Maj (Raf256)" <raf256 AT go2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: throw ;
Date: Sun, 29 Jul 2001 01:25:01 +0200
Organization: Academic Computer Center CYFRONET AGH
Lines: 9
Message-ID: <9jvjtq$crt$5@info.cyf-kr.edu.pl>
NNTP-Posting-Host: d-94-53-07.cyfronet.krakow.pl
X-Trace: info.cyf-kr.edu.pl 996365051 13181 149.156.1.167 (29 Jul 2001 00:04:11 GMT)
X-Complaints-To: news AT cyf-kr DOT edu DOT pl
NNTP-Posting-Date: Sun, 29 Jul 2001 00:04:11 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJGPP allows statment   throw ;  is it ok ? If yes, then how can I catch
such exception ?

try { throw ; } catch(...) { cerr<<"OK :)"<<endl; }

This doesn't work, throw is not catched, and it generates default_terminate
and abort.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019