X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2Ftransport%2FSureTransport.cpp;fp=source%2Fcomm%2Ftransport%2FSureTransport.cpp;h=111174083fc5e48b34de0a64cfd2ed85dc2b8d31;hp=23173256318f4b4c826b541fd868c634470fb248;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/transport/SureTransport.cpp b/source/comm/transport/SureTransport.cpp index 2317325..1111740 100644 --- a/source/comm/transport/SureTransport.cpp +++ b/source/comm/transport/SureTransport.cpp @@ -30,7 +30,7 @@ comm::SureTransport::~SureTransport() { } int comm::SureTransport::calculeSize(const DataBlock& dataBlock) -throw(RuntimeException) { +noexcept(false) { const char* buffer = dataBlock.getData(); int result = -1; @@ -49,7 +49,7 @@ throw(RuntimeException) { // (1) Transfiere la referencia de message al cuerpo del mensaje. Ojo!! tampoco hace copia. //------------------------------------------------------------------------------------------- const comm::Message* comm::SureTransport::decode(const DataBlock& message) -throw(RuntimeException) { +noexcept(false) { const int totalSize = message.getSize(); if(totalSize < headerSize) @@ -73,7 +73,7 @@ throw(RuntimeException) { // Etiquta de comienzo 0xaaaa + short () + datos //--------------------------------------------------------------------------- const DataBlock& comm::SureTransport::code(comm::Message& message) -throw(RuntimeException) { +noexcept(false) { char aux [sizeof(int)]; const DataBlock& data = message.code(); a_forCode = a_precodec;