summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-03-01 20:13:14 +0000
committerBernard Normier <bernard@zeroc.com>2004-03-01 20:13:14 +0000
commit5d33b030f2c0961d5dcfeffa944ade8ea0921ad0 (patch)
tree1e093d83820ea127374b690c79f1af256067923c /cpp/test/Ice/exceptions/TestI.cpp
parentchanging version to 1.3.0 (diff)
downloadice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.tar.bz2
ice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.tar.xz
ice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.zip
Nested exception support + test
Diffstat (limited to 'cpp/test/Ice/exceptions/TestI.cpp')
-rw-r--r--cpp/test/Ice/exceptions/TestI.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestI.cpp b/cpp/test/Ice/exceptions/TestI.cpp
index 091e90edaba..cd2007e7a70 100644
--- a/cpp/test/Ice/exceptions/TestI.cpp
+++ b/cpp/test/Ice/exceptions/TestI.cpp
@@ -95,6 +95,15 @@ ThrowerI::throwCasC(Ice::Int a, Ice::Int b, Ice::Int c, const Ice::Current&)
}
void
+ThrowerI::throwModA(Ice::Int a, Ice::Int a2, const Ice::Current&)
+{
+ Mod::A ex;
+ ex.aMem = a;
+ ex.a2Mem = a2;
+ throw ex;
+}
+
+void
ThrowerI::throwUndeclaredA(Ice::Int a, const Ice::Current&)
{
A ex;