summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-10-10 16:00:58 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-10-10 16:00:58 +0200
commit8bcfc9e4a8a1de3d72e30ffc6f3c9d72a8d3f0e4 (patch)
tree1cdcd88fccb57f88d2b47cd1757b4d43bc05be4b /java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
parentAdded IceGridGUI IceStorm metrics (diff)
downloadice-8bcfc9e4a8a1de3d72e30ffc6f3c9d72a8d3f0e4.tar.bz2
ice-8bcfc9e4a8a1de3d72e30ffc6f3c9d72a8d3f0e4.tar.xz
ice-8bcfc9e4a8a1de3d72e30ffc6f3c9d72a8d3f0e4.zip
Improved tracing of failures, user exceptions are now tracked
with a userException member.
Diffstat (limited to 'java/src/IceInternal/CommunicatorBatchOutgoingAsync.java')
-rw-r--r--java/src/IceInternal/CommunicatorBatchOutgoingAsync.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java b/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
index b64c56b8d99..014d6e041e6 100644
--- a/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
+++ b/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
@@ -64,6 +64,7 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
{
if(_remoteObserver != null)
{
+ _remoteObserver.failed(ex.ice_name());
_remoteObserver.detach();
_remoteObserver = null;
}
@@ -110,13 +111,6 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
{
return;
}
-
- if(_observer != null)
- {
- _observer.detach();
- _observer = null;
- }
-
_state |= Done | OK | Sent;
_monitor.notifyAll();
}