try {
Run();
- } catch (const exception&) {
+ } catch (...) {
FinishException(boost::current_exception());
}
}
int fd = task->GetFD();
if (fd >= 0)
tasks[fd] = task;
- } catch (const exception&) {
+ } catch (...) {
Event::Post(boost::bind(&Process::FinishException, task, boost::current_exception()));
}
if (FD_ISSET(fd, &exceptfds))
HandleException();
- } catch (const exception&) {
+ } catch (...) {
m_Exception = boost::current_exception();
CloseInternal(false);
if (FD_ISSET(fd, &writefds))
HandleWritable();
- } catch (const exception&) {
+ } catch (...) {
m_Exception = boost::current_exception();
CloseInternal(false);
if (!stream->good())
throw_exception(runtime_error("Could not open logfile '" + filename + "'"));
- } catch (const exception&) {
+ } catch (...) {
delete stream;
throw;
}
try {
pr = ct.m_Process->GetResult();
- } catch (const exception&) {
+ } catch (...) {
ct.m_Task->FinishException(boost::current_exception());
return;
}
m_SyncingConfig = true;
object->Commit();
m_SyncingConfig = false;
- } catch (const exception&) {
+ } catch (...) {
m_SyncingConfig = false;
throw;
}
m_SyncingConfig = true;
object->Unregister();
m_SyncingConfig = false;
- } catch (const exception&) {
+ } catch (...) {
m_SyncingConfig = false;
throw;
}