X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;ds=sidebyside;f=include%2Fanna%2Fcomm%2FLiteTransport.hpp;h=68be0e1ee843a89c5e5b5f52ca564bfc7caaa688;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hp=f41dcfb1beda4eb04de1ba2d60ad3d2e86a005b2;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/comm/LiteTransport.hpp b/include/anna/comm/LiteTransport.hpp index f41dcfb..68be0e1 100644 --- a/include/anna/comm/LiteTransport.hpp +++ b/include/anna/comm/LiteTransport.hpp @@ -33,28 +33,28 @@ public: /** Destructor. */ - ~LiteTransport(); + virtual ~LiteTransport(); /** 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 ; };