This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cygwin Setup: Fatal Error: Uncaught Exception


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]