diff options
Diffstat (limited to 'java/test/Ice/exceptions/AMDThrowerI.java')
-rw-r--r-- | java/test/Ice/exceptions/AMDThrowerI.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/AMDThrowerI.java b/java/test/Ice/exceptions/AMDThrowerI.java index bb69ac2a1da..9f924e42f56 100644 --- a/java/test/Ice/exceptions/AMDThrowerI.java +++ b/java/test/Ice/exceptions/AMDThrowerI.java @@ -16,6 +16,7 @@ import test.Ice.exceptions.AMD.Test.AMD_Thrower_supportsUndeclaredExceptions; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwAasA; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwAorDasAorD; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwAssertException; +import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwMemoryLimitException; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwBasA; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwBasB; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwCasA; @@ -189,6 +190,12 @@ public final class AMDThrowerI extends _ThrowerDisp } public void + throwMemoryLimitException_async(AMD_Thrower_throwMemoryLimitException cb, byte[] seq, Ice.Current current) + { + cb.ice_response(new byte[1024 * 20]); // 20KB is over the configured 10KB message size max. + } + + public void throwLocalExceptionIdempotent_async(AMD_Thrower_throwLocalExceptionIdempotent cb, Ice.Current current) { cb.ice_exception(new Ice.TimeoutException()); |