summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ServerBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ServerBuilder.cpp')
-rw-r--r--cpp/src/IcePack/ServerBuilder.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/IcePack/ServerBuilder.cpp b/cpp/src/IcePack/ServerBuilder.cpp
index e37a12f1db6..159c4b20014 100644
--- a/cpp/src/IcePack/ServerBuilder.cpp
+++ b/cpp/src/IcePack/ServerBuilder.cpp
@@ -52,7 +52,7 @@ public:
ex.reason = os.str();
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact the server registry:\n" << lex << endl;
@@ -81,7 +81,7 @@ public:
ex.reason = os.str();
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact the server registry:\n" << lex;
@@ -131,7 +131,7 @@ public:
ex.reason = os.str();
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact the adapter registry: " << lex << endl;
@@ -160,7 +160,7 @@ public:
ex.reason = os.str();
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact the adapter registry:\n" << lex;
@@ -465,7 +465,7 @@ IcePack::ServerBuilder::undo()
ex.reason = os.str();
throw ex;
}
- catch(const Ice::RuntimeException& lex)
+ catch(const Ice::LocalException& lex)
{
ostringstream os;
os << "couldn't contact the server registry:\n" << lex;
@@ -488,7 +488,7 @@ IcePack::ServerBuilder::undo()
{
_server->destroy();
}
- catch(const Ice::RuntimeException&)
+ catch(const Ice::LocalException&)
{
//
// This shouldn't happen. TODO: print a warning if this