diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-11-04 09:18:32 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-11-04 09:18:32 +0100 |
commit | 6f197dd98390b40f6b9d45216919e66857a0db27 (patch) | |
tree | 010c527a6030a46782ae8e7c949262969b90d449 /cpp/src/IceGrid/AdminSessionI.cpp | |
parent | ICE-5817: Review of CHANGES or Slice differences (diff) | |
download | ice-6f197dd98390b40f6b9d45216919e66857a0db27.tar.bz2 ice-6f197dd98390b40f6b9d45216919e66857a0db27.tar.xz ice-6f197dd98390b40f6b9d45216919e66857a0db27.zip |
Fixed ICE-5820: IceGrid unexpected dispatch exception
Diffstat (limited to 'cpp/src/IceGrid/AdminSessionI.cpp')
-rw-r--r-- | cpp/src/IceGrid/AdminSessionI.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/IceGrid/AdminSessionI.cpp b/cpp/src/IceGrid/AdminSessionI.cpp index 97fff196b19..23d544852eb 100644 --- a/cpp/src/IceGrid/AdminSessionI.cpp +++ b/cpp/src/IceGrid/AdminSessionI.cpp @@ -37,13 +37,10 @@ class SubscriberForwarderI : public Ice::BlobjectArrayAsync { ex.ice_throw(); } - catch(const Ice::CloseConnectionException&) - { - amdCB->ice_response(true, Ice::ByteSeq()); // Bi-dir connection is closed, ignore. - } catch(const Ice::Exception& ex) { - amdCB->ice_exception(ex); + // Throw ObjectNotExistException, the subscriber is unreachable + amdCB->ice_exception(Ice::ObjectNotExistException(__FILE__, __LINE__)); } } |