summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/AMDThrowerI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2010-05-21 14:03:30 -0700
committerMark Spruiell <mes@zeroc.com>2010-05-21 14:03:30 -0700
commit01e3d1af5c5e19d74d391a8998495df59f6c4ce8 (patch)
treea94485661f2eb28ce4b1cb29fabf34c3fddf7c8d /java/test/Ice/exceptions/AMDThrowerI.java
parentVarious changes for 3.4.1 installers (diff)
downloadice-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.java19
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();
+ }
}