]> git.tdb.fi Git - libs/net.git/blobdiff - source/server.cpp
Exception changes
[libs/net.git] / source / server.cpp
index 677bc6c43b5e52fc7048594177b7d3d3bad005b4..259d13b087598d5ae602f1c4b16e7ec6ed24259e 100644 (file)
@@ -160,7 +160,8 @@ Server::Client &Server::get_client_by_response(Response &resp)
                if(i->response==&resp)
                        return *i;
 
-       throw InvalidParameterValue("Response does not belong to any client");
+       // XXX Do this differently
+       throw invalid_argument("Response does not belong to any client");
 }