summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/Parser.cpp')
-rw-r--r--cpp/src/IceGrid/Parser.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Parser.cpp b/cpp/src/IceGrid/Parser.cpp
index 379bf7989c8..c2fea1297fd 100644
--- a/cpp/src/IceGrid/Parser.cpp
+++ b/cpp/src/IceGrid/Parser.cpp
@@ -698,6 +698,10 @@ Parser::stopServer(const list<string>& args)
{
_admin->stopServer(args.front());
}
+ catch(const ServerStopException& ex)
+ {
+ error("the server didn't stop successfully:\n" + ex.reason);
+ }
catch(const Ice::Exception& ex)
{
exception(ex);
@@ -852,6 +856,11 @@ Parser::stateServer(const list<string>& args)
cout << "deactivating (" << enabled << ")" << endl;
break;
}
+ case Destroying:
+ {
+ cout << "destroying (" << enabled << ")" << endl;
+ break;
+ }
case Destroyed:
{
cout << "destroyed (" << enabled << ")" << endl;
@@ -1558,7 +1567,7 @@ Parser::exception(const Ice::Exception& ex)
catch(const BadSignalException& ex)
{
ostringstream s;
- s << ex;
+ s << ex.reason;
error(s.str());
}
catch(const NodeUnreachableException& ex)