Remove dynamic exceptions
[anna.git] / source / http / wims20 / Abstract.cpp
index 49f0fea..b2a214e 100644 (file)
@@ -40,7 +40,7 @@ http::wims20::Abstract::~Abstract() {
 
 /* Calcula la parte fija de la URI, se invoca desde el constructor. */
 const string& http::wims20::Abstract::calculeFixedPart()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_serviceID.empty() == true) {
     string msg(asString());
     msg += " | ServiceID can not be NULL";
@@ -63,7 +63,7 @@ throw(RuntimeException) {
 }
 
 const string& http::wims20::Abstract::calculeShortFixedPart()
-throw(RuntimeException) {
+noexcept(false) {
   string::size_type pos = a_domain.find("http://");
 
   if(pos == string::npos) {
@@ -87,7 +87,7 @@ throw(RuntimeException) {
 }
 
 void http::wims20::Abstract::other_level_add(const std::string& otherLevel)
-throw(RuntimeException) {
+noexcept(false) {
   if(a_otherLevels == NULL)
     a_otherLevels = new other_level_container;
 
@@ -101,7 +101,7 @@ throw(RuntimeException) {
 
 /*virtual*/
 void http::wims20::Abstract::clearOtherLevels()
-throw() {
+{
   if(hasOtherLevels()) {
     for(other_level_iterator ii = other_level_begin(), maxii = other_level_end(); ii != maxii; ii ++)
       destroyString(otherLevel(ii));
@@ -111,7 +111,7 @@ throw() {
 }
 
 void http::wims20::Abstract::parameter_set(const std::string& name, const std::string& value)
-throw(RuntimeException) {
+noexcept(false) {
   bool exists = false;
 
   if(a_parameters == NULL)
@@ -144,7 +144,7 @@ throw(RuntimeException) {
 }
 
 void http::wims20::Abstract::clearParameters()
-throw() {
+{
   if(hasParameters()) {
     for(parameter_iterator ii = parameter_begin(), maxii = parameter_end(); ii != maxii; ii ++) {
       destroyString(parameter_name(ii));
@@ -156,7 +156,7 @@ throw() {
 }
 
 string http::wims20::Abstract::asString() const
-throw() {
+{
   string result("http::wims20::");
   result += a_whatis;
   result += " { Domain: ";
@@ -194,7 +194,7 @@ throw() {
 
 /*static*/
 void http::wims20::Abstract::appendWithSlash(std::string& target, const std::string& other)
-throw() {
+{
   const char* str = target.c_str();
 
   if(str [anna_strlen(str) - 1] != '/')