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 848c7d5f83e..baa83eab316 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -205,6 +205,13 @@ Ice::ConnectFailedException::ice_print(ostream& out) const
}
void
+Ice::ConnectionRefusedException::ice_print(ostream& out) const
+{
+ Exception::ice_print(out);
+ out << ":\nconnection refused: " << errorToString(error);
+}
+
+void
Ice::ConnectionLostException::ice_print(ostream& out) const
{
Exception::ice_print(out);