summaryrefslogtreecommitdiff
path: root/cpp/demo/IceGrid/allocate/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-25 12:54:09 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-25 12:54:09 +0000
commitd419d581a351ea58ab8445fea9051cea55414554 (patch)
tree92596b2fc4ad9b15c7f358f228c9b63b27e18567 /cpp/demo/IceGrid/allocate/Client.cpp
parentfix for IceSSL.KeystoreType (diff)
downloadice-d419d581a351ea58ab8445fea9051cea55414554.tar.bz2
ice-d419d581a351ea58ab8445fea9051cea55414554.tar.xz
ice-d419d581a351ea58ab8445fea9051cea55414554.zip
Minor change to exception handling
Diffstat (limited to 'cpp/demo/IceGrid/allocate/Client.cpp')
-rw-r--r--cpp/demo/IceGrid/allocate/Client.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpp/demo/IceGrid/allocate/Client.cpp b/cpp/demo/IceGrid/allocate/Client.cpp
index 2ab00a07b9c..d64bf0c4673 100644
--- a/cpp/demo/IceGrid/allocate/Client.cpp
+++ b/cpp/demo/IceGrid/allocate/Client.cpp
@@ -173,11 +173,6 @@ HelloClient::run(int argc, char* argv[])
cerr << argv[0] << ": could not allocate object: " << ex.reason << endl;
return EXIT_FAILURE;
}
- catch(const IceGrid::ObjectNotRegisteredException&)
- {
- cerr << argv[0] << ": object not registered with registry" << endl;
- return EXIT_FAILURE;
- }
}
menu();
@@ -214,11 +209,6 @@ HelloClient::run(int argc, char* argv[])
catch(const Ice::Exception& ex)
{
cerr << ex << endl;
-
- keepAlive->destroy();
- keepAlive->getThreadControl().join();
-
- return EXIT_FAILURE;
}
}
while(cin.good() && c != 'x');