diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-11-08 21:10:36 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-11-08 21:10:36 +0000 |
commit | 8b2d07f265be391de41d9667aefe6776c9962a94 (patch) | |
tree | ff12f512fea69f819f672afe6d8ec46c16977619 /cpp/src | |
parent | stream changes (diff) | |
download | ice-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.cpp | 4 |
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 |