X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fstack%2FCommand.cpp;fp=source%2Fdiameter%2Fstack%2FCommand.cpp;h=3fa3ac90b9c8f69fb34034f48ad85f697c644e0f;hp=57a12f1226aba962bb2237fe28eeb1050b4d9368;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter/stack/Command.cpp b/source/diameter/stack/Command.cpp index 57a12f1..3fa3ac9 100644 --- a/source/diameter/stack/Command.cpp +++ b/source/diameter/stack/Command.cpp @@ -21,7 +21,7 @@ //------------------------------------------------------------------------------ //-------------------------------------------------------- Command::addAvpRule() //------------------------------------------------------------------------------ -void anna::diameter::stack::Command::addAvpRule(const AvpRule & avpRule) throw(anna::RuntimeException) { +void anna::diameter::stack::Command::addAvpRule(const AvpRule & avpRule) noexcept(false) { if(avpRule.isFixed()) { if(!a_allowFixedRule) { std::string s_ex = anna::functions::asString("Incorrect position for fixed avp rule '<%s>' within command '%s'", avpRule.getAvpName().c_str(), getName().c_str()); @@ -45,7 +45,7 @@ void anna::diameter::stack::Command::addAvpRule(const AvpRule & avpRule) throw(a //------------------------------------------------------------------------------ //----------------------------------------------------------- Command::isChild() //------------------------------------------------------------------------------ -bool anna::diameter::stack::Command::isChild(const AvpId & avpId) const throw() { +bool anna::diameter::stack::Command::isChild(const AvpId & avpId) const { for(const_avprule_iterator it = avprule_begin(); it != avprule_end(); it++) if(avpId == ((*it).second.getId())) return true; @@ -57,7 +57,7 @@ bool anna::diameter::stack::Command::isChild(const AvpId & avpId) const throw() //------------------------------------------------------------------------------ //---------------------------------------------------------- Command::asString() //------------------------------------------------------------------------------ -std::string anna::diameter::stack::Command::asString(void) const throw() { +std::string anna::diameter::stack::Command::asString(void) const { std::string trace; //trace = "Command '"; trace = "'"; @@ -89,7 +89,7 @@ std::string anna::diameter::stack::Command::asString(void) const throw() { //------------------------------------------------------------------------------ //------------------------------------------------------------- Command::asXML() //------------------------------------------------------------------------------ -anna::xml::Node* anna::diameter::stack::Command::asXML(anna::xml::Node* parent) const throw() { +anna::xml::Node* anna::diameter::stack::Command::asXML(anna::xml::Node* parent) const { // // anna::xml::Node* result = parent->createChild("command");