Remove dynamic exceptions
[anna.git] / example / timex / ArithmeticHTTPServer / Context.hpp
index d10e6a0..2d8c847 100644 (file)
@@ -29,17 +29,17 @@ class Context : public anna::timex::Context <S64> {
 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 <Transaction> 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&);
 };