diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 93861ac9b9e..4123b46dd22 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -424,3 +424,10 @@ Ice::NotRegisteredException::ice_print(ostream& out) const Exception::ice_print(out); out << ":\n no " << kindOfObject << " registered under ID `" << id << "'"; } + +void +Ice::TwowayOnlyException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + out << ":\n operation `" << operation << "' can only be invoked as a twoway request"; +} |