Remove dynamic exceptions
[anna.git] / source / http / parser / ReadHeader.cpp
index 9394ebd..acd172c 100644 (file)
@@ -42,7 +42,7 @@ using namespace anna;
 //----------------------------------------------------------------------------------------------------
 /*virtual*/
 int http::parser::ReadHeader::processLine(http::Transport& transport, const DataBlock& dataBlock, const http::Token& line) const
-throw(RuntimeException) {
+noexcept(false) {
   if(line.getSize() == 0) {                                                  // (3)
     const int size = line.calculeOffset(dataBlock) + sizeEndOfLine;
     setState(transport, ClassType::WaitMessage);