Remove dynamic exceptions
[anna.git] / include / anna / comm / LiteTransport.hpp
index feb7566..68be0e1 100644 (file)
@@ -39,22 +39,22 @@ public:
     Returns the class name literal.
     @return class name literal.
   */
-  static const char* className() throw() { return "anna::comm::LiteTransport"; }
+  static const char* className() { return "anna::comm::LiteTransport"; }
 
   /**
     Returns the transport factory associated to this class
     @return transport factory associated to this class
   */
-  static TransportFactory& getFactory() throw() { return st_transportFactory; }
+  static TransportFactory& getFactory() { return st_transportFactory; }
 
 private:
   static TransportFactoryImpl <LiteTransport> st_transportFactory;
 
   LiteTransport();
 
-  int calculeSize(const DataBlock&) throw(RuntimeException);
-  const Message* decode(const DataBlock&) throw(RuntimeException);
-  const DataBlock& code(Message&) throw(RuntimeException);
+  int calculeSize(const DataBlock&) noexcept(false);
+  const Message* decode(const DataBlock&) noexcept(false);
+  const DataBlock& code(Message&) noexcept(false);
 
   friend class anna::Allocator <LiteTransport>;
 };