summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/hello/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r--cpp/demo/Ice/hello/Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp
index ae44f23413d..c15df8ef219 100644
--- a/cpp/demo/Ice/hello/Client.cpp
+++ b/cpp/demo/Ice/hello/Client.cpp
@@ -153,7 +153,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
menu();
}
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::Exception& ex)
{
cerr << ex << endl;
}
@@ -175,7 +175,7 @@ main(int argc, char* argv[])
communicator = Ice::initializeWithProperties(properties);
status = run(argc, argv, communicator);
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::Exception& ex)
{
cerr << ex << endl;
status = EXIT_FAILURE;
@@ -187,7 +187,7 @@ main(int argc, char* argv[])
{
communicator->destroy();
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::Exception& ex)
{
cerr << ex << endl;
status = EXIT_FAILURE;