summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestAMDI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-04-18 14:45:21 +0000
committerMarc Laukien <marc@zeroc.com>2004-04-18 14:45:21 +0000
commitf1f9d4683dc42533ea66c14e59a96e8fc0c7b651 (patch)
treee94c0e1c8b7c7a24f5dc318f0523ea501afa7205 /cpp/test/Ice/exceptions/TestAMDI.cpp
parentassertions are now correctly caught (diff)
downloadice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.tar.bz2
ice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.tar.xz
ice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.zip
fixes
Diffstat (limited to 'cpp/test/Ice/exceptions/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/exceptions/TestAMDI.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestAMDI.cpp b/cpp/test/Ice/exceptions/TestAMDI.cpp
index 81e2cc8e04a..b0db069f61f 100644
--- a/cpp/test/Ice/exceptions/TestAMDI.cpp
+++ b/cpp/test/Ice/exceptions/TestAMDI.cpp
@@ -36,6 +36,13 @@ ThrowerI::supportsUndeclaredExceptions_async(const AMD_Thrower_supportsUndeclare
}
void
+ThrowerI::supportsAssertException_async(const AMD_Thrower_supportsAssertExceptionPtr& cb,
+ const Ice::Current&)
+{
+ cb->ice_response(false);
+}
+
+void
ThrowerI::throwAasA_async(const AMD_Thrower_throwAasAPtr& cb,
Ice::Int a, const Ice::Current&)
{
@@ -172,3 +179,10 @@ ThrowerI::throwNonIceException_async(const AMD_Thrower_throwNonIceExceptionPtr&,
{
throw int(12345);
}
+
+void
+ThrowerI::throwAssertException_async(const AMD_Thrower_throwAssertExceptionPtr&,
+ const Ice::Current&)
+{
+ assert(false); // Not supported in C++.
+}