summaryrefslogtreecommitdiff
path: root/java/src/Ice/ConnectionI.java
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2009-08-18 08:50:04 +1000
committerMichi Henning <michi@zeroc.com>2009-08-18 08:50:04 +1000
commit09445fc755dad18490d4a09b96ebc50af72d56b7 (patch)
tree8317e58d1f39ac1fbada52b8f6ea41d4ac8bb8e1 /java/src/Ice/ConnectionI.java
parentMore changes for 3996 (diff)
downloadice-09445fc755dad18490d4a09b96ebc50af72d56b7.tar.bz2
ice-09445fc755dad18490d4a09b96ebc50af72d56b7.tar.xz
ice-09445fc755dad18490d4a09b96ebc50af72d56b7.zip
Bug 4201 - No checks on the encapsulation size
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r--java/src/Ice/ConnectionI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java
index fea7381371e..4107621f428 100644
--- a/java/src/Ice/ConnectionI.java
+++ b/java/src/Ice/ConnectionI.java
@@ -1944,7 +1944,7 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne
if(info.invokeNum < 0)
{
info.invokeNum = 0;
- throw new NegativeSizeException();
+ throw new UnmarshalOutOfBoundsException();
}
info.servantManager = _servantManager;
info.adapter = _adapter;