summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-11-25 20:37:13 +0000
committerMarc Laukien <marc@zeroc.com>2002-11-25 20:37:13 +0000
commit2d2488c417b7543402b239deffb724bdc5035b3c (patch)
tree559c071f5f91b6e1f78e89804a2bb907d7b7930f /cpp/src/Ice/Exception.cpp
parentfile OutgoingAsyncF.h was initially added on branch ami. (diff)
downloadice-2d2488c417b7543402b239deffb724bdc5035b3c.tar.bz2
ice-2d2488c417b7543402b239deffb724bdc5035b3c.tar.xz
ice-2d2488c417b7543402b239deffb724bdc5035b3c.zip
more detail for CompressionException
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 0f578d38a05..d31c97e6718 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -338,6 +338,10 @@ Ice::CompressionException::ice_print(ostream& out) const
{
Exception::ice_print(out);
out << ":\nprotocol error: failed to compress or uncompress data";
+ if(!reason.empty())
+ {
+ out << ":\n" << reason;
+ }
}
void