13.07.2015 Views

Multithreading - Poco

Multithreading - Poco

Multithreading - Poco

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The ErrorHandler Class (cont'd)> To install a custom error handler:ErrorHandler* ErrorHandler::set(ErrorHandler* pHandler)installs the new error handler and returns a pointer to the oldone.> Only one ErrorHandler can be installed in a single process.> The ErrorHandler's exception() member functions are alwayscalled in the context of the offending thread.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!