summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ServerBuilder.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-20 13:12:50 +0000
commitd99db9620ba052e79cd5bd40c75306f600f9c48c (patch)
tree8b5bf4d7b52f1e60469cb48e6b466e7f4b08c41f /cpp/src/IcePack/ServerBuilder.cpp
parentminor (diff)
downloadice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.bz2
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.xz
ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.zip
Runtime->Local
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