summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
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);