Remove dynamic exceptions
[anna.git] / include / anna / http / internal / Token.hpp
index b0bc138..77cec22 100644 (file)
@@ -21,16 +21,16 @@ class Token : public DataBlock {
 public:
   Token() : DataBlock(false) {;}
 
-  const std::string& getStringValue() const throw();
-  int getIntegerValue() const throw();
-  bool contains(const char byte) const throw();
+  const std::string& getStringValue() const ;
+  int getIntegerValue() const ;
+  bool contains(const char byte) const ;
 
-  void setValue(const char* content, const int size) throw() {
+  void setValue(const char* content, const int size) {
     setBuffer(content);
     setSize(size);
   }
-  bool match(const char* str) const throw();
-  int calculeOffset(const DataBlock& base) const throw(RuntimeException);
+  bool match(const char* str) const ;
+  int calculeOffset(const DataBlock& base) const noexcept(false);
 
 private:
   std::string a_aux;