summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/BatchRequestQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/BatchRequestQueue.cpp')
-rw-r--r--cpp/src/Ice/BatchRequestQueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/BatchRequestQueue.cpp b/cpp/src/Ice/BatchRequestQueue.cpp
index 53f5750836a..5eb2758b00e 100644
--- a/cpp/src/Ice/BatchRequestQueue.cpp
+++ b/cpp/src/Ice/BatchRequestQueue.cpp
@@ -91,9 +91,9 @@ void
BatchRequestQueue::prepareBatchRequest(OutputStream* os)
{
Lock sync(*this);
- if(ICE_EXCEPTION_ISSET(_exception))
+ if(_exception)
{
- ICE_RETHROW_EXCEPTION(_exception);
+ _exception->ice_throw();
}
waitStreamInUse(false);
_batchStreamInUse = true;