X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fstack%2FFormat.cpp;h=eb1f44bae673a1b965e7c1278cbaf4e0fe627bee;hp=6fb85acd664f1bcdaaa2c871679b5695954cb15f;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter/stack/Format.cpp b/source/diameter/stack/Format.cpp index 6fb85ac..eb1f44b 100644 --- a/source/diameter/stack/Format.cpp +++ b/source/diameter/stack/Format.cpp @@ -18,7 +18,7 @@ //------------------------------------------------------------------------------ //------------------------------------------------------- Format::getBasicType() //------------------------------------------------------------------------------ -anna::diameter::codec::Format::_v anna::diameter::stack::Format::getBasicType(void) const throw(anna::RuntimeException) { +anna::diameter::codec::Format::_v anna::diameter::stack::Format::getBasicType(void) const noexcept(false) { if(isDerived()) return a_dictionary->getFormat(a_parentName)->getBasicType(); if(isReserved()) @@ -31,7 +31,7 @@ anna::diameter::codec::Format::_v anna::diameter::stack::Format::getBasicType(vo //------------------------------------------------------------------------------ //------------------------------------------------------ Format::setParentName() //------------------------------------------------------------------------------ -void anna::diameter::stack::Format::setParentName(const std::string & parentName) throw(anna::RuntimeException) { +void anna::diameter::stack::Format::setParentName(const std::string & parentName) noexcept(false) { const Format * parent = a_dictionary->getFormat(parentName); //if (parent && parent->isDerived()) // actually dtd-verified: @@ -45,7 +45,7 @@ void anna::diameter::stack::Format::setParentName(const std::string & parentName //------------------------------------------------------------------------------ //----------------------------------------------------------- Format::asString() //------------------------------------------------------------------------------ -std::string anna::diameter::stack::Format::asString(void) const throw() { +std::string anna::diameter::stack::Format::asString(void) const { std::string trace; //trace = "Format '"; trace = "'"; @@ -65,7 +65,7 @@ std::string anna::diameter::stack::Format::asString(void) const throw() { //------------------------------------------------------------------------------ //-------------------------------------------------------------- Format::asXML() //------------------------------------------------------------------------------ -anna::xml::Node* anna::diameter::stack::Format::asXML(anna::xml::Node* parent) const throw() { +anna::xml::Node* anna::diameter::stack::Format::asXML(anna::xml::Node* parent) const { // // anna::xml::Node* result = parent->createChild("format");