Remove dynamic exceptions
[anna.git] / include / anna / http / parser / Abstract.hpp
index c8e4f1c..c68e1fe 100644 (file)
@@ -35,18 +35,18 @@ public:
 protected:
   Abstract(const ClassType::_v classType) : a_classType(classType) {;}
 
-  static void setState(Transport&, const ClassType::_v) throw();
-  static void setLastChunkedByte(Transport&, const int lastChunkedByte) throw();
-  static const DataBlock& getFullMessage(Transport&) throw();
-  static void appendExtraParameter(Message*, const std::string& extraParameter) throw();
+  static void setState(Transport&, const ClassType::_v) ;
+  static void setLastChunkedByte(Transport&, const int lastChunkedByte) ;
+  static const DataBlock& getFullMessage(Transport&) ;
+  static void appendExtraParameter(Message*, const std::string& extraParameter) ;
 
-  virtual int processLine(Transport&, const DataBlock&, const Token& line) const throw(RuntimeException) = 0;
+  virtual int processLine(Transport&, const DataBlock&, const Token& line) const noexcept(false) = 0;
 
 private:
   const ClassType::_v a_classType;
 
-  ClassType::_v getClassType() const throw() { return a_classType; }
-  std::string asString() const throw();
+  ClassType::_v getClassType() const { return a_classType; }
+  std::string asString() const ;
 
   friend class http::Transport;
 };