diff options
Diffstat (limited to 'cpp/src/Ice/StreamI.cpp')
-rw-r--r-- | cpp/src/Ice/StreamI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/StreamI.cpp b/cpp/src/Ice/StreamI.cpp index 0fe3b566473..8a333dbccc5 100644 --- a/cpp/src/Ice/StreamI.cpp +++ b/cpp/src/Ice/StreamI.cpp @@ -602,7 +602,7 @@ Ice::OutputStreamI::writeSize(Int sz) { if(sz < 0) { - throw NegativeSizeException(__FILE__, __LINE__); + throw MarshalException(__FILE__, __LINE__); } _os->writeSize(sz); |