- int calculeSize(const DataBlock& dataBlock) throw(RuntimeException) { return dataBlock.getSize(); }
- const Message* decode(const DataBlock&) throw(RuntimeException);
- const DataBlock& code(Message&) throw(RuntimeException);
+ int calculeSize(const DataBlock& dataBlock) noexcept(false) { return dataBlock.getSize(); }
+ const Message* decode(const DataBlock&) noexcept(false);
+ const DataBlock& code(Message&) noexcept(false);