summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/ThrowerI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/exceptions/ThrowerI.java')
-rw-r--r--java/test/Ice/exceptions/ThrowerI.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/ThrowerI.java b/java/test/Ice/exceptions/ThrowerI.java
index 1d190443fd1..47441831694 100644
--- a/java/test/Ice/exceptions/ThrowerI.java
+++ b/java/test/Ice/exceptions/ThrowerI.java
@@ -155,6 +155,12 @@ public final class ThrowerI extends _ThrowerDisp
throw new java.lang.AssertionError();
}
+ public byte[]
+ throwMemoryLimitException(byte[] seq, Ice.Current current)
+ {
+ return new byte[1024 * 20]; // 20KB is over the configured 10KB message size max.
+ }
+
public void
throwAfterResponse(Ice.Current current)
{