summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-10-12 17:42:56 +0000
committerMarc Laukien <marc@zeroc.com>2001-10-12 17:42:56 +0000
commit9c223552844cf79e0515a67330d32d4d7a602d62 (patch)
treec2d25c9eef3b8a3f543dd7ac61bf251dc7d0b352 /cpp/src/Ice/ThreadPool.cpp
parentfixes (diff)
downloadice-9c223552844cf79e0515a67330d32d4d7a602d62.tar.bz2
ice-9c223552844cf79e0515a67330d32d4d7a602d62.tar.xz
ice-9c223552844cf79e0515a67330d32d4d7a602d62.zip
error # in exceptions is now properly set
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 370a2d02482..dbc24fa904c 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -292,7 +292,9 @@ IceInternal::ThreadPool::run()
goto repeatSelect;
}
- throw SocketException(__FILE__, __LINE__);
+ SocketException ex(__FILE__, __LINE__);
+ ex.error = getSocketErrno();
+ throw ex;
}
{