summaryrefslogtreecommitdiff
path: root/python/test/Ice/exceptions/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/exceptions/TestI.py')
-rw-r--r--python/test/Ice/exceptions/TestI.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/test/Ice/exceptions/TestI.py b/python/test/Ice/exceptions/TestI.py
index d4ea54c5df1..65860b6cad6 100644
--- a/python/test/Ice/exceptions/TestI.py
+++ b/python/test/Ice/exceptions/TestI.py
@@ -101,3 +101,9 @@ class ThrowerI(Test.Thrower):
# Only relevant for AMD.
#
raise Test.A()
+
+ def throwMarshalException(self, current):
+ if "return" in current.ctx:
+ return ("", 0)
+ if "param" in current.ctx:
+ return (0, "")