delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/25/13:20:35

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Cygwin Setup: Fatal Error: Uncaught Exception
Date: Wed, 25 Jan 2006 18:20:22 -0000
Message-ID: <001501c621dc$0229e6a0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0601231023040.18707@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Igor wrote:

> I've looked at this a bit.  Here's the weird part: the error
> says "Uncaught Exception", but all the throws of that
> exception appear to be properly wrapped in try/catch blocks.
> So a simple "change exception into an mbox" kind of solution
> won't work here.  More debugging is needed.


  That's because the io_stream code throws an invalid_argument, which is
derived from std::exception, but our code only catches Exception, which is
our custom exception type.





    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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