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));
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>;
};