summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/BatchOutgoing.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-12-12 18:54:19 +0100
committerBenoit Foucher <benoit@zeroc.com>2007-12-12 18:54:19 +0100
commit3dff2b82d498d2e29dc4c42c4053557e16a373d4 (patch)
tree4242da8678ce8f36e34b9d821212cf78519af415 /java/src/IceInternal/BatchOutgoing.java
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-3dff2b82d498d2e29dc4c42c4053557e16a373d4.tar.bz2
ice-3dff2b82d498d2e29dc4c42c4053557e16a373d4.tar.xz
ice-3dff2b82d498d2e29dc4c42c4053557e16a373d4.zip
Fixed bug 2592
Diffstat (limited to 'java/src/IceInternal/BatchOutgoing.java')
-rw-r--r--java/src/IceInternal/BatchOutgoing.java22
1 files changed, 12 insertions, 10 deletions
diff --git a/java/src/IceInternal/BatchOutgoing.java b/java/src/IceInternal/BatchOutgoing.java
index 1e0071f047a..eecd4cb692a 100644
--- a/java/src/IceInternal/BatchOutgoing.java
+++ b/java/src/IceInternal/BatchOutgoing.java
@@ -34,23 +34,25 @@ public final class BatchOutgoing implements OutgoingMessageCallback
if(_handler != null && !_handler.flushBatchRequests(this) ||
_connection != null && !_connection.flushBatchRequests(this))
- synchronized(this)
{
- while(_exception == null && !_sent)
+ synchronized(this)
{
- try
+ while(_exception == null && !_sent)
{
- wait();
+ try
+ {
+ wait();
+ }
+ catch(java.lang.InterruptedException ex)
+ {
+ }
}
- catch(java.lang.InterruptedException ex)
+
+ if(_exception != null)
{
+ throw _exception;
}
}
-
- if(_exception != null)
- {
- throw _exception;
- }
}
}