summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/ServerAMD.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/exceptions/ServerAMD.py')
-rwxr-xr-xpython/test/Ice/exceptions/ServerAMD.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/test/Ice/exceptions/ServerAMD.py b/python/test/Ice/exceptions/ServerAMD.py
index 8bd9a6f35a8..b9418e7e29d 100755
--- a/python/test/Ice/exceptions/ServerAMD.py
+++ b/python/test/Ice/exceptions/ServerAMD.py
@@ -136,6 +136,12 @@ class ThrowerI(Test.Thrower):
f.set_exception(Test.A())
return f
+ def throwMarshalException(self, current):
+ if "return" in current.ctx:
+ return Ice.Future.completed(("", 0))
+ if "param" in current.ctx:
+ return Ice.Future.completed((0, ""))
+ return Ice.Future.completed(None)
class ServerAMD(TestHelper):