Remove dynamic exceptions
[anna.git] / include / anna / comm / Status.hpp
index 2f96c7c..3c615d3 100644 (file)
@@ -29,17 +29,17 @@ public:
   Status() : a_value(Unavailable) {;}
   Status(const Status& other) : a_value(other.a_value) {;}
   Status(const _v v) : a_value(v) {;}
-  Status& operator = (const _v v) throw() { a_value = v; return *this; }
-  Status& operator = (const Status& other) throw() { a_value = other.a_value; return *this; }
+  Status& operator = (const _v v) { a_value = v; return *this; }
+  Status& operator = (const Status& other) { a_value = other.a_value; return *this; }
 
-  bool operator != (const Status& other) const throw() { return a_value != other.a_value;  }
-  bool operator != (const Status::_v v) const throw() { return a_value != v ;  }
-  bool operator == (const Status& other) const throw() { return a_value == other.a_value;  }
-  bool operator == (const Status::_v v) const throw() { return a_value == v ;  }
+  bool operator != (const Status& other) const { return a_value != other.a_value;  }
+  bool operator != (const Status::_v v) const { return a_value != v ;  }
+  bool operator == (const Status& other) const { return a_value == other.a_value;  }
+  bool operator == (const Status::_v v) const { return a_value == v ;  }
 
-  _v value() const throw() { return a_value; }
+  _v value() const { return a_value; }
 
-  std::string asString() const throw();
+  std::string asString() const ;
 
 private:
   _v a_value;