diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-04-23 14:19:15 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-04-23 14:19:15 +0200 |
commit | 22fa8d1f5865c46b453b8def34f706a141bab1d6 (patch) | |
tree | 39967e251eca1ecdfcf11a45098e3546f589dc5f /cpp/src/IceGrid/Client.cpp | |
parent | Fixed bug 3026 (diff) | |
download | ice-22fa8d1f5865c46b453b8def34f706a141bab1d6.tar.bz2 ice-22fa8d1f5865c46b453b8def34f706a141bab1d6.tar.xz ice-22fa8d1f5865c46b453b8def34f706a141bab1d6.zip |
Fixed another bug with sessions created from secure connections
Diffstat (limited to 'cpp/src/IceGrid/Client.cpp')
-rw-r--r-- | cpp/src/IceGrid/Client.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index f6fa90dff6c..05a91fc74c2 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -631,6 +631,16 @@ Client::run(int argc, char* argv[]) cout << "permission denied:\n" << ex.reason << endl; return EXIT_FAILURE; } + catch(const Glacier2::PermissionDeniedException& ex) + { + cout << "permission denied:\n" << ex.reason << endl; + return EXIT_FAILURE; + } + catch(const Glacier2::CannotCreateSessionException& ex) + { + cout << "session creation failed:\n" << ex.reason << endl; + return EXIT_FAILURE; + } catch(...) { if(keepAlive) |