//------------------------------------------------------------------------------
//-------------------------------------------------------- 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());
//------------------------------------------------------------------------------
//----------------------------------------------------------- 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;
//------------------------------------------------------------------------------
//---------------------------------------------------------- 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 = "'";
//------------------------------------------------------------------------------
//------------------------------------------------------------- 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 {
// <!ELEMENT command (avprule*)>
// <!ATTLIST command name CDATA #REQUIRED code CDATA #REQUIRED type (Request | Answer) #REQUIRED>
anna::xml::Node* result = parent->createChild("command");