diff options
author | Marc Laukien <marc@zeroc.com> | 2004-04-18 14:45:21 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-04-18 14:45:21 +0000 |
commit | f1f9d4683dc42533ea66c14e59a96e8fc0c7b651 (patch) | |
tree | e94c0e1c8b7c7a24f5dc318f0523ea501afa7205 /cpp/test/Ice/exceptions/TestI.cpp | |
parent | assertions are now correctly caught (diff) | |
download | ice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.tar.bz2 ice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.tar.xz ice-f1f9d4683dc42533ea66c14e59a96e8fc0c7b651.zip |
fixes
Diffstat (limited to 'cpp/test/Ice/exceptions/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/TestI.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestI.cpp b/cpp/test/Ice/exceptions/TestI.cpp index cd2007e7a70..e31f141104e 100644 --- a/cpp/test/Ice/exceptions/TestI.cpp +++ b/cpp/test/Ice/exceptions/TestI.cpp @@ -32,6 +32,12 @@ ThrowerI::supportsUndeclaredExceptions(const Ice::Current&) return true; } +bool +ThrowerI::supportsAssertException(const Ice::Current&) +{ + return false; +} + void ThrowerI::throwAasA(Ice::Int a, const Ice::Current&) { @@ -141,3 +147,9 @@ ThrowerI::throwNonIceException(const Ice::Current&) { throw int(12345); } + +void +ThrowerI::throwAssertException(const Ice::Current&) +{ + assert(false); // Not supported in C++. +} |