From 2d7dfbcf8e2318f57625d4adab7a3677343b990e Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Sun, 16 Jul 2017 13:57:18 +0200 Subject: [PATCH] Minor fixes --- source/diameter.comm/Engine.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/diameter.comm/Engine.cpp b/source/diameter.comm/Engine.cpp index 4bd70ed..d00724b 100644 --- a/source/diameter.comm/Engine.cpp +++ b/source/diameter.comm/Engine.cpp @@ -345,7 +345,7 @@ throw(anna::RuntimeException) { // Assignments (it could be done at allocate): if((a_cer.isEmpty()) || (a_dwr.isEmpty())) - throw anna::RuntimeException("Must define valid CER and DWR messages by mean setCERandDWR()", ANNA_FILE_LOCATION); + throw anna::RuntimeException("Must define valid CER and DWR messages by mean setClientCERandDWR()", ANNA_FILE_LOCATION); result->a_cer.setBody(a_cer); result->a_dwr.setBody(a_dwr); @@ -1054,7 +1054,13 @@ bool comm::Engine::refreshAvailabilityForLocalServers() throw() { void comm::Engine::readDPA(anna::DataBlock &dpa, const anna::DataBlock & dpr) throw() { // Check for base protocol codec engine health: - assertBaseProtocolHealth(); + try { + assertBaseProtocolHealth(); + } + catch(anna::RuntimeException &ex) { + ex.trace(); + return; + } // Default DPA implementation: // -- 2.20.1