diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-04-13 19:00:01 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-04-13 19:00:01 +0000 |
commit | 807e05794f18cbe679625f666e6c8c969c716876 (patch) | |
tree | 7361a5351670723d55a0b13eddad808f4dc7d8d8 /cpp/test/Ice/exceptions/AllTests.cpp | |
parent | align with C++ facet changes (diff) | |
download | ice-807e05794f18cbe679625f666e6c8c969c716876.tar.bz2 ice-807e05794f18cbe679625f666e6c8c969c716876.tar.xz ice-807e05794f18cbe679625f666e6c8c969c716876.zip |
for compatibility with Java
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/AllTests.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp index 56a993c18f9..cb11f45c493 100644 --- a/cpp/test/Ice/exceptions/AllTests.cpp +++ b/cpp/test/Ice/exceptions/AllTests.cpp @@ -375,6 +375,12 @@ public: test(ex.aMem == 1); test(ex.a2Mem == 2); } + catch(const Ice::OperationNotExistException&) + { + // + // This operation is not supported in Java. + // + } catch(...) { test(false); @@ -746,6 +752,12 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) test(ex.aMem == 1); test(ex.a2Mem == 2); } + catch(const Ice::OperationNotExistException&) + { + // + // This operation is not supported in Java. + // + } catch(...) { test(false); @@ -798,6 +810,12 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) { test(ex.aMem == 1); } + catch(const Ice::OperationNotExistException&) + { + // + // This operation is not supported in Java. + // + } catch(...) { test(false); |