X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Ftimex%2FArithmeticHTTPServer%2FContext.hpp;fp=example%2Ftimex%2FArithmeticHTTPServer%2FContext.hpp;h=2d8c847ccd1e334949bb7ab154d5893d32566433;hp=d10e6a06b8956bce9c0080b70b436e59a030a6d1;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/timex/ArithmeticHTTPServer/Context.hpp b/example/timex/ArithmeticHTTPServer/Context.hpp index d10e6a0..2d8c847 100644 --- a/example/timex/ArithmeticHTTPServer/Context.hpp +++ b/example/timex/ArithmeticHTTPServer/Context.hpp @@ -29,17 +29,17 @@ class Context : public anna::timex::Context { public: Context (anna::timex::Engine&, const Millisecond& timeout); - void create (const S64 id, comm::ClientSocket&) throw (RuntimeException); - void destroy (Transaction*) throw (); + void create (const S64 id, comm::ClientSocket&) noexcept(false); + void destroy (Transaction*) ; private: Recycler a_transactions; - anna::timex::Transaction* createTransaction (const int /*classType*/) throw (); - void releaseTransaction (anna::timex::Transaction* tt) throw (); + anna::timex::Transaction* createTransaction (const int /*classType*/) ; + void releaseTransaction (anna::timex::Transaction* tt) ; - std::string identifierAsString (const S64&) const throw (); - const S64& contextAsIdentifier (const void*) const throw (); + std::string identifierAsString (const S64&) const ; + const S64& contextAsIdentifier (const void*) const ; Context (const Context&); };