]> cygwin.com Git - cygwin-apps/setup.git/commit - msg.h
2004-08-29 Max Bowsher <maxb@ukf.net>
authorMax Bowsher <maxb1@ukf.net>
Sun, 29 Aug 2004 16:59:40 +0000 (16:59 +0000)
committerMax Bowsher <maxb1@ukf.net>
Sun, 29 Aug 2004 16:59:40 +0000 (16:59 +0000)
commit072fb49a2bdf6639e971e7f256a93b10cba046bc
tree99c1405cfa06f89342c33704b0b6aceb741c2c3c
parent56c41dda47b826bdb4091afab7a69f8f8bb8357e
2004-08-29  Max Bowsher  <maxb@ukf.net>

* Exception.h: Reformatting, #include more, remove incorrect and
less-than-useful comments.
(TOPLEVEL_CATCH): New preprocessor macro.

* LogFile.cc (LogFile::operator()): Throw an exception object, not a
char* string.

Wrap the top-level of each thread (including the main thread) in a
try...catch block, in order to display a useful error message if an
exception is not caught.
* download.cc (do_download_reflector): Here ...
* ini.cc (do_ini_thread_reflector): ... and here ...
* install.cc (do_install_reflector: ... and here ...
* main.cc (main): ... and here ...
* postinstall.cc (do_postinstall_thread): ... and here ...
* site.cc (do_download_site_info_thread): ... and here!

* msg.h: Include a missing header requirement.
* res.rc (IDS_UNCAUGHT_EXCEPTION, IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO):
New strings.
* resource.h (IDS_UNCAUGHT_EXCEPTION)
(IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): New IDs.
12 files changed:
ChangeLog
Exception.h
LogFile.cc
download.cc
ini.cc
install.cc
main.cc
msg.h
postinstall.cc
res.rc
resource.h
site.cc
This page took 0.033586 seconds and 5 git commands to generate.