Remove dynamic exceptions
[anna.git] / include / anna / comm / SureTransport.hpp
index 9d6b1ad..2b6de80 100644 (file)
@@ -37,13 +37,13 @@ public:
     Class name literal
     \return Class name literal
   */
-  static const char* className() throw() { return "anna::comm::SureTransport"; }
+  static const char* className() { return "anna::comm::SureTransport"; }
 
   /**
     Returns the transport layer manager associated to this class.
     \return transport layer manager associated to this class.
   */
-  static TransportFactory& getFactory() throw() { return st_transportFactory; }
+  static TransportFactory& getFactory() { return st_transportFactory; }
 
 protected:
   static const short int headerSize = (sizeof(short int) + sizeof(int));
@@ -58,9 +58,9 @@ protected:
 private:
   DataBlock a_precodec;
 
-  int calculeSize(const DataBlock& dataBlock) throw(RuntimeException);
-  const Message* decode(const DataBlock& message) throw(RuntimeException);
-  virtual const DataBlock& code(Message&) throw(RuntimeException);
+  int calculeSize(const DataBlock& dataBlock) noexcept(false);
+  const Message* decode(const DataBlock& message) noexcept(false);
+  virtual const DataBlock& code(Message&) noexcept(false);
 
   friend class anna::Allocator <SureTransport>;
 };