Remove dynamic exceptions
[anna.git] / source / testing / TestCondition.cpp
index 416b893..e82e52e 100644 (file)
@@ -29,18 +29,18 @@ using namespace anna::testing;
 
 
 const char* TestDiameterCondition::asText(const Type::_v type)
-throw() {
+{
   static const char* text [] = { "RegexpXml", "RegexpHex", "Fields" };
   return text [type];
 }
 
-bool TestDiameterCondition::exists() const throw() {
+bool TestDiameterCondition::exists() const {
   if (a_type != Type::Fields) return (getRegexp() != "");
 
   return (a_code != "" || a_bitR != "" || a_hopByHop != "" || a_applicationId != "" || a_sessionId != "" || a_resultCode != "" || a_msisdn != "" || a_imsi != "" || a_serviceContextId != "");
 }
 
-bool TestDiameterCondition::comply(const anna::DataBlock &message) const throw() {
+bool TestDiameterCondition::comply(const anna::DataBlock &message) const {
 
   if (a_type == Type::RegexpXml) {
     anna::diameter::codec::Message codecMsg;
@@ -138,7 +138,7 @@ bool TestDiameterCondition::comply(const anna::DataBlock &message) const throw()
 }
 
 anna::xml::Node* TestDiameterCondition::asXML(anna::xml::Node* parent) const
-throw() {
+{
   anna::xml::Node* result = parent->createChild("TestDiameterCondition");
   if (!exists()) return result;