summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestAMDI.cpp
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 /cpp/test/Ice/exceptions/TestAMDI.cpp
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 'cpp/test/Ice/exceptions/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/exceptions/TestAMDI.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestAMDI.cpp b/cpp/test/Ice/exceptions/TestAMDI.cpp
index e77a3a68bcf..503e33f8535 100644
--- a/cpp/test/Ice/exceptions/TestAMDI.cpp
+++ b/cpp/test/Ice/exceptions/TestAMDI.cpp
@@ -182,3 +182,19 @@ ThrowerI::throwAssertException_async(const AMD_Thrower_throwAssertExceptionPtr&,
{
assert(false); // Not supported in C++.
}
+
+void
+ThrowerI::throwAfterResponse_async(const AMD_Thrower_throwAfterResponsePtr& cb, const Ice::Current&)
+{
+ cb->ice_response();
+
+ throw std::string();
+}
+
+void
+ThrowerI::throwAfterException_async(const AMD_Thrower_throwAfterExceptionPtr& cb, const Ice::Current&)
+{
+ cb->ice_exception(A());
+
+ throw std::string();
+}