summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-10-11 14:44:58 -0400
committerBernard Normier <bernard@zeroc.com>2012-10-11 14:44:58 -0400
commit027e0fe8d3d1a6c4cf2f6ba2e80016c102943ebe (patch)
tree5a17059ea764321a0b6e43f1083dcd6c7db363f1 /cpp/test/Ice/exceptions/AllTests.cpp
parentICE-4829 - Certificate failure on W2003 (diff)
downloadice-027e0fe8d3d1a6c4cf2f6ba2e80016c102943ebe.tar.bz2
ice-027e0fe8d3d1a6c4cf2f6ba2e80016c102943ebe.tar.xz
ice-027e0fe8d3d1a6c4cf2f6ba2e80016c102943ebe.zip
Partial fix for ICE-4869: C++ stream read/write for structs (and structs-as-class)
is now generated as templates. Removed most slice2cpp --stream uses (but not all) Also fixed various build failures on Solaris.
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index 0ebc176792b..6a09297b4d9 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -126,6 +126,11 @@ public:
Ice::Identity id = _communicator->stringToIdentity("does not exist");
test(ex.id == id);
}
+ catch(const Ice::Exception& ex)
+ {
+ cerr << ex << endl;
+ test(false);
+ }
catch(...)
{
test(false);