Enhance exception throwing with Boost Exception library
Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa
Refs: #2541
diff --git a/tests/limited-io.cpp b/tests/limited-io.cpp
index 4bfd802..ec62041 100644
--- a/tests/limited-io.cpp
+++ b/tests/limited-io.cpp
@@ -101,7 +101,7 @@
m_reason = EXCEED_OPS;
getGlobalIoService().stop();
if (m_uttf != nullptr) {
- throw StopException();
+ BOOST_THROW_EXCEPTION(StopException());
}
}
}
@@ -112,7 +112,7 @@
m_reason = EXCEED_TIME;
getGlobalIoService().stop();
if (m_uttf != nullptr) {
- throw StopException();
+ BOOST_THROW_EXCEPTION(StopException());
}
}