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.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 52e531a8cd1..d1f9780d49e 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -491,3 +491,10 @@ Ice::TwowayOnlyException::ice_print(ostream& out) const
Exception::ice_print(out);
out << ":\n operation `" << operation << "' can only be invoked as a twoway request";
}
+
+void
+Ice::CloneNotImplementedException::ice_print(ostream& out) const
+{
+ Exception::ice_print(out);
+ out << ":\n ice_clone() must be implemented in classes derived from abstract base classes";
+}