X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FLiteTransport.hpp;fp=include%2Fanna%2Fcomm%2FLiteTransport.hpp;h=68be0e1ee843a89c5e5b5f52ca564bfc7caaa688;hp=feb7566732427dd999ca4022fd1ec55c6a4f7c2a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/LiteTransport.hpp b/include/anna/comm/LiteTransport.hpp index feb7566..68be0e1 100644 --- a/include/anna/comm/LiteTransport.hpp +++ b/include/anna/comm/LiteTransport.hpp @@ -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 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 ; };