X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fldap%2Finternal%2FTimer.hpp;fp=include%2Fanna%2Fldap%2Finternal%2FTimer.hpp;h=5b5bc308edb5fdd043cc6ead97c7d08d131fd57d;hp=0cb68031978531bdbe452972b336454b48ac74ef;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/ldap/internal/Timer.hpp b/include/anna/ldap/internal/Timer.hpp index 0cb6803..5b5bc30 100644 --- a/include/anna/ldap/internal/Timer.hpp +++ b/include/anna/ldap/internal/Timer.hpp @@ -22,16 +22,16 @@ class TimerManager; class Timer : public timex::Transaction { public: - Response* getResponse() throw() { return reinterpret_cast (getContext()); } - const Response* getResponse() const throw() { return reinterpret_cast (getContext()); } + Response* getResponse() { return reinterpret_cast (getContext()); } + const Response* getResponse() const { return reinterpret_cast (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;