diff options
author | Mark Spruiell <mes@zeroc.com> | 2010-05-21 14:03:30 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2010-05-21 14:03:30 -0700 |
commit | 01e3d1af5c5e19d74d391a8998495df59f6c4ce8 (patch) | |
tree | a94485661f2eb28ce4b1cb29fabf34c3fddf7c8d /java/test/Ice/exceptions/AMDThrowerI.java | |
parent | Various changes for 3.4.1 installers (diff) | |
download | ice-01e3d1af5c5e19d74d391a8998495df59f6c4ce8.tar.bz2 ice-01e3d1af5c5e19d74d391a8998495df59f6c4ce8.tar.xz ice-01e3d1af5c5e19d74d391a8998495df59f6c4ce8.zip |
bug 4733 - fixing bugs in AMD exceptions
Diffstat (limited to 'java/test/Ice/exceptions/AMDThrowerI.java')
-rw-r--r-- | java/test/Ice/exceptions/AMDThrowerI.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/AMDThrowerI.java b/java/test/Ice/exceptions/AMDThrowerI.java index 0b2061d8ecf..9e7eee8aa76 100644 --- a/java/test/Ice/exceptions/AMDThrowerI.java +++ b/java/test/Ice/exceptions/AMDThrowerI.java @@ -26,6 +26,8 @@ import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwNonIceException; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwUndeclaredA; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwUndeclaredB; import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwUndeclaredC; +import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwAfterResponse; +import test.Ice.exceptions.AMD.Test.AMD_Thrower_throwAfterException; import test.Ice.exceptions.AMD.Test.B; import test.Ice.exceptions.AMD.Test.C; import test.Ice.exceptions.AMD.Test.D; @@ -184,4 +186,21 @@ public final class AMDThrowerI extends _ThrowerDisp { throw new java.lang.AssertionError(); } + + public void + throwAfterResponse_async(AMD_Thrower_throwAfterResponse cb, Ice.Current current) + { + cb.ice_response(); + + throw new RuntimeException(); + } + + public void + throwAfterException_async(AMD_Thrower_throwAfterException cb, Ice.Current current) + throws A + { + cb.ice_exception(new A()); + + throw new RuntimeException(); + } } |