Update of /cvsroot/boost/boost/libs/asio/example/tutorial/daytime5
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15893/example/tutorial/daytime5

Modified Files:
        server.cpp 
Log Message:
Ensure that what gets thrown is the system_error exception.

Index: server.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/example/tutorial/daytime5/server.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- server.cpp  8 Nov 2006 05:32:16 -0000       1.3
+++ server.cpp  9 Nov 2006 11:21:42 -0000       1.4
@@ -40,7 +40,7 @@
           remote_endpoint, 0, error);
 
       if (error && error != boost::asio::error::message_size)
-        throw error;
+        throw boost::system::system_error(error);
 
       std::string message = make_daytime_string();
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to