diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-05-30 14:40:22 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-05-30 14:40:22 +0000 |
commit | 3bb83324d1004564bcc6e1a56e4bc937f28b6524 (patch) | |
tree | 4c568a7c2076b11c870dbcf261946d71bf3a0e7d /cpp/src/IceGrid/Parser.cpp | |
parent | Fixed bug 967 (diff) | |
download | ice-3bb83324d1004564bcc6e1a56e4bc937f28b6524.tar.bz2 ice-3bb83324d1004564bcc6e1a56e4bc937f28b6524.tar.xz ice-3bb83324d1004564bcc6e1a56e4bc937f28b6524.zip |
Fixed bug 971 and 983.
Diffstat (limited to 'cpp/src/IceGrid/Parser.cpp')
-rw-r--r-- | cpp/src/IceGrid/Parser.cpp | 11 |
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) |