cplusplus.co.il

Archive for March 2010

Catching uncaught exceptions within terminate

Posted by: rmn on: 21/03/2010

The handler std::terminate() is called whenever the exception handling mechanism cannot find a suitable catch clause for a thrown exception (and in some other cases. For example, when an exception is thrown during the handling of another exception – see this GotW post about std::uncaught_exception). It is possible to define a custom handler by using [...]


Follow

Get every new post delivered to your Inbox.

Join 25 other followers