summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-11-08 21:10:36 +0000
committerMark Spruiell <mes@zeroc.com>2004-11-08 21:10:36 +0000
commit8b2d07f265be391de41d9667aefe6776c9962a94 (patch)
treeff12f512fea69f819f672afe6d8ec46c16977619 /cpp/src
parentstream changes (diff)
downloadice-8b2d07f265be391de41d9667aefe6776c9962a94.tar.bz2
ice-8b2d07f265be391de41d9667aefe6776c9962a94.tar.xz
ice-8b2d07f265be391de41d9667aefe6776c9962a94.zip
print MarshalException reason member
Diffstat (limited to 'cpp/src')
-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 6fc5b99f08f..2ac1105c734 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -369,6 +369,10 @@ Ice::MarshalException::ice_print(ostream& out) const
{
Exception::ice_print(out);
out << ":\nprotocol error: error during marshaling or unmarshaling";
+ if(!reason.empty())
+ {
+ out << ":\n" << reason;
+ }
}
void