MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetExceptions

Method GetExceptions

lib/base/workqueue.cpp:166–171  ·  view source on GitHub ↗

* Returns all exceptions which have occurred for tasks in this work queue. When a * custom exception callback is set this method will always return an empty list. */

Source from the content-addressed store, hash-verified

164 * custom exception callback is set this method will always return an empty list.
165 */
166std::vector<boost::exception_ptr> WorkQueue::GetExceptions() const
167{
168 std::unique_lock<std::mutex> lock(m_Mutex);
169
170 return m_Exceptions;
171}
172
173void WorkQueue::ReportExceptions(const String& facility, bool verbose) const
174{

Callers 2

CreateObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected