diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-04-28 15:19:19 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-04-28 15:19:19 +0000 |
commit | a7966697bd3441ab4f5b31a3b469dd8ebe1aab23 (patch) | |
tree | 8dd4a5e8140c2c2e23239492cf46088415597191 /cpp/src/IceGrid/LocatorI.cpp | |
parent | Fixed fault-tolerance test work with both single-and dual-CPU machines on (diff) | |
download | ice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.tar.bz2 ice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.tar.xz ice-a7966697bd3441ab4f5b31a3b469dd8ebe1aab23.zip |
Added tests for templates.
Diffstat (limited to 'cpp/src/IceGrid/LocatorI.cpp')
-rw-r--r-- | cpp/src/IceGrid/LocatorI.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/LocatorI.cpp b/cpp/src/IceGrid/LocatorI.cpp index 16986ada9b0..7b6a4e3c840 100644 --- a/cpp/src/IceGrid/LocatorI.cpp +++ b/cpp/src/IceGrid/LocatorI.cpp @@ -210,6 +210,11 @@ LocatorI::findAdapterById_async(const Ice::AMD_Locator_findAdapterByIdPtr& cb, { throw Ice::AdapterNotFoundException(); } + catch(const NodeUnreachableException&) + { + cb->ice_response(0); + return; + } LocatorIPtr self = const_cast<LocatorI*>(this); if(self->getDirectProxyRequest(cb, adapter)) |