summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/IcePackNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/IcePackNode.cpp')
-rw-r--r--cpp/src/IcePack/IcePackNode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePack/IcePackNode.cpp b/cpp/src/IcePack/IcePackNode.cpp
index f0a73399454..44064a1fd17 100644
--- a/cpp/src/IcePack/IcePackNode.cpp
+++ b/cpp/src/IcePack/IcePackNode.cpp
@@ -226,7 +226,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, const Free
out << "a node with the same name is already registered and active";
throw;
}
- catch(const Ice::RuntimeException& ex)
+ catch(const Ice::LocalException& ex)
{
Ice::Error out(communicator->getLogger());
out << "couldn't contact the IcePack registry:";
@@ -254,7 +254,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, const Free
{
admin = AdminPrx::checkedCast(communicator->stringToProxy("IcePack/Admin@IcePack.Registry.Admin"));
}
- catch(const Ice::RuntimeException& ex)
+ catch(const Ice::LocalException& ex)
{
Ice::Warning out(communicator->getLogger());
out << "couldn't contact IcePack admin interface to deploy application `" << descriptor << "':";
@@ -279,7 +279,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, const Free
out << "failed to deploy application `" << descriptor << "':\n";
out << ex << ": " << ex.component << ": " << ex.reason;
}
- catch(const Ice::RuntimeException& ex)
+ catch(const Ice::LocalException& ex)
{
Ice::Warning out(communicator->getLogger());
out << "failed to deploy application `" << descriptor << "':\n";