Task #3953 - Inherit XArch and XBase from std::exception

This commit is contained in:
Nick Bolton 2014-03-14 18:30:21 +00:00
parent 78f30db6e9
commit abe108195d
9 changed files with 21 additions and 30 deletions

View file

@ -215,14 +215,14 @@ CMSWindowsWatchdog::mainLoop(void*)
ARCH->sleep(1);
}
catch (XArch& e) {
LOG((CLOG_ERR "failed to launch, error: %s", e.what().c_str()));
catch (std::exception& e) {
LOG((CLOG_ERR "failed to launch, error: %s", e.what()));
m_processFailures++;
m_processRunning = false;
continue;
}
catch (XSynergy& e) {
LOG((CLOG_ERR "failed to launch, error: %s", e.what()));
catch (...) {
LOG((CLOG_ERR "failed to launch, unknown error."));
m_processFailures++;
m_processRunning = false;
continue;