diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-03-01 20:13:14 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-03-01 20:13:14 +0000 |
commit | 5d33b030f2c0961d5dcfeffa944ade8ea0921ad0 (patch) | |
tree | 1e093d83820ea127374b690c79f1af256067923c /cpp/test/Ice/exceptions/TestAMDI.cpp | |
parent | changing version to 1.3.0 (diff) | |
download | ice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.tar.bz2 ice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.tar.xz ice-5d33b030f2c0961d5dcfeffa944ade8ea0921ad0.zip |
Nested exception support + test
Diffstat (limited to 'cpp/test/Ice/exceptions/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/TestAMDI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestAMDI.cpp b/cpp/test/Ice/exceptions/TestAMDI.cpp index dbcbada0f9f..81e2cc8e04a 100644 --- a/cpp/test/Ice/exceptions/TestAMDI.cpp +++ b/cpp/test/Ice/exceptions/TestAMDI.cpp @@ -118,6 +118,17 @@ ThrowerI::throwCasC_async(const AMD_Thrower_throwCasCPtr& cb, } void +ThrowerI::throwModA_async(const AMD_Thrower_throwModAPtr& cb, + Ice::Int a, Ice::Int a2, const Ice::Current&) +{ + Mod::A ex; + ex.aMem = a; + ex.a2Mem = a2; + throw ex; +} + + +void ThrowerI::throwUndeclaredA_async(const AMD_Thrower_throwUndeclaredAPtr& cb, Ice::Int a, const Ice::Current&) { |