diff options
author | Michi Henning <michi@zeroc.com> | 2009-08-18 08:50:04 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-08-18 08:50:04 +1000 |
commit | 09445fc755dad18490d4a09b96ebc50af72d56b7 (patch) | |
tree | 8317e58d1f39ac1fbada52b8f6ea41d4ac8bb8e1 /cpp/src/Ice/StreamI.cpp | |
parent | More changes for 3996 (diff) | |
download | ice-09445fc755dad18490d4a09b96ebc50af72d56b7.tar.bz2 ice-09445fc755dad18490d4a09b96ebc50af72d56b7.tar.xz ice-09445fc755dad18490d4a09b96ebc50af72d56b7.zip |
Bug 4201 - No checks on the encapsulation size
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); |