X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FSureTransport.hpp;fp=include%2Fanna%2Fcomm%2FSureTransport.hpp;h=2b6de8073897885ea472690fb6bb2b715b134f26;hp=9d6b1ad3e1682b21f7d6e3a52f6153355235ffa5;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/SureTransport.hpp b/include/anna/comm/SureTransport.hpp index 9d6b1ad..2b6de80 100644 --- a/include/anna/comm/SureTransport.hpp +++ b/include/anna/comm/SureTransport.hpp @@ -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 ; };