Remove dynamic exceptions
[anna.git] / source / testing / TestTimer.cpp
index 47c4ccc..4825900 100644 (file)
@@ -22,7 +22,7 @@ using namespace anna;
 using namespace anna::testing;
 
 void TestTimer::expire(anna::timex::Engine*)
-throw(anna::RuntimeException) {
+noexcept(false) {
 
   TestStep *step = getTestCaseStep();
 
@@ -37,14 +37,14 @@ throw(anna::RuntimeException) {
 }
 
 const char* TestTimer::asText(const Type::_v type)
-throw() {
+{
   static const char* text [] = { "TimeLeft", "Delay" };
   return text [type];
 }
 
 
 string TestTimer::asString() const
-throw() {
+{
   string result("TestTimer { ");
   result += anna::timex::Transaction::asString();
   result += " Type: ";