Remove dynamic exceptions
[anna.git] / include / anna / testing / TestTimer.hpp
index 54ece7b..a236f31 100644 (file)
@@ -27,23 +27,23 @@ class TestTimer : public anna::timex::Transaction {
 public:
 
   struct Type { enum _v { TimeLeft, Delay }; };
-  static const char* asText(const Type::_v type) throw();
+  static const char* asText(const Type::_v type) ;
 
 
-  TestStep* getTestCaseStep() throw() { return reinterpret_cast <TestStep*>(getContext()); }
-  const TestStep* getTestCaseStep() const throw() { return reinterpret_cast <const TestStep*>(getContext()); }
+  TestStep* getTestCaseStep() { return reinterpret_cast <TestStep*>(getContext()); }
+  const TestStep* getTestCaseStep() const { return reinterpret_cast <const TestStep*>(getContext()); }
 
-  void setType(const Type::_v type) throw() { a_type = type; }
-  const Type::_v &getType(const Type::_v type) const throw() { return a_type; }
+  void setType(const Type::_v type) { a_type = type; }
+  const Type::_v &getType(const Type::_v type) const { return a_type; }
 
-  std::string asString() const throw();
+  std::string asString() const ;
 
 private:
   Type::_v a_type;
 
   TestTimer() {;}
 
-  void expire(anna::timex::Engine*) throw(anna::RuntimeException);
+  void expire(anna::timex::Engine*) noexcept(false);
 
   friend class anna::Allocator<TestTimer>;
 };