summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-03-29 23:21:40 +0000
committerMarc Laukien <marc@zeroc.com>2004-03-29 23:21:40 +0000
commit64c22bc624d13bec6e9e88fc6411c0d465bb47db (patch)
tree69d4a68e52cab893fc5763a92f21e87bc9ffd58d /cpp/src/Ice/Exception.cpp
parent*** empty log message *** (diff)
downloadice-64c22bc624d13bec6e9e88fc6411c0d465bb47db.tar.bz2
ice-64c22bc624d13bec6e9e88fc6411c0d465bb47db.tar.xz
ice-64c22bc624d13bec6e9e88fc6411c0d465bb47db.zip
ConnectionRefusedException
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);