class Timer : public timex::Transaction {
public:
- Response* getResponse() throw() { return reinterpret_cast <Response*>(getContext()); }
- const Response* getResponse() const throw() { return reinterpret_cast <const Response*>(getContext()); }
+ Response* getResponse() { return reinterpret_cast <Response*>(getContext()); }
+ const Response* getResponse() const { return reinterpret_cast <const Response*>(getContext()); }
- std::string asString() const throw();
+ std::string asString() const ;
private:
Timer() {;}
- void setResponse(Response* response) throw() { setContext(response); }
- void expire(timex::Engine*) throw(RuntimeException);
+ void setResponse(Response* response) { setContext(response); }
+ void expire(timex::Engine*) noexcept(false);
friend class ldap::TimerManager;
friend class Allocator<Timer>;