summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ComponentBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ComponentBuilder.cpp')
-rw-r--r--cpp/src/IcePack/ComponentBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/ComponentBuilder.cpp b/cpp/src/IcePack/ComponentBuilder.cpp
index b05349dc8ae..8598a0c74f8 100644
--- a/cpp/src/IcePack/ComponentBuilder.cpp
+++ b/cpp/src/IcePack/ComponentBuilder.cpp
@@ -217,7 +217,7 @@ public:
{
_admin->add(_offer, _proxy);
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact Yellow to add offer:\n" << lex << ends;
@@ -249,7 +249,7 @@ public:
ex.proxy = _proxy;
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact Yellow to remove offer:\n" << lex << ends;