summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-05-14 18:44:07 +0000
committerMark Spruiell <mes@zeroc.com>2002-05-14 18:44:07 +0000
commit64f1590349701e5a759ead38a27e3bf2f14443ec (patch)
treec89ad8745e79693471d2dbd60d626064c411004c /cpp/src/Ice/Exception.cpp
parentfixes (diff)
downloadice-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.cpp11
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);