Remove dynamic exceptions
[anna.git] / source / diameter / stack / Format.cpp
index 6fb85ac..eb1f44b 100644 (file)
@@ -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 {
 //   <!ELEMENT format EMPTY>
 //   <!ATTLIST format name CDATA #REQUIRED parent-type ( OctetString | Integer32 | Integer64 | Unsigned32 | Unsigned64 | Float32 | Float64 ) #REQUIRED>
   anna::xml::Node* result = parent->createChild("format");