diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-05-14 18:44:07 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-05-14 18:44:07 +0000 |
commit | 64f1590349701e5a759ead38a27e3bf2f14443ec (patch) | |
tree | c89ad8745e79693471d2dbd60d626064c411004c /cpp/src/Ice/Exception.cpp | |
parent | fixes (diff) | |
download | ice-64f1590349701e5a759ead38a27e3bf2f14443ec.tar.bz2 ice-64f1590349701e5a759ead38a27e3bf2f14443ec.tar.xz ice-64f1590349701e5a759ead38a27e3bf2f14443ec.zip |
fixing exception handling in plug-in initialization
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 55280eb7d14..a7bebba4031 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -310,6 +310,17 @@ Ice::CompressionNotSupportedException::ice_print(ostream& out) const } void +Ice::PluginInitializationException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + out << ":\nplug-in initialization failed"; + if (!reason.empty()) + { + out << ": " << reason; + } +} + +void Ice::PluginExistsException::ice_print(ostream& out) const { Exception::ice_print(out); |