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>;
};