summaryrefslogtreecommitdiff
path: root/tests/Connection_Failure/client.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-10-03 21:02:32 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-10-03 21:02:32 +0000
commit4dcca24c609008f9fe8a4e01966702b8f4c08e61 (patch)
tree6bf00b87749636ef3ea7ec22a9b13d4dd2597378 /tests/Connection_Failure/client.cpp
parent8c7cc4d18ddf28a18a01fef53aaea68422b2fff2 (diff)
downloadATCD-4dcca24c609008f9fe8a4e01966702b8f4c08e61.tar.gz
Merged version 94552 from main trunk into this branchalt_mapping_SAIC
Diffstat (limited to 'tests/Connection_Failure/client.cpp')
-rw-r--r--tests/Connection_Failure/client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Connection_Failure/client.cpp b/tests/Connection_Failure/client.cpp
index 0f33ce2fa4e..3f7bb372923 100644
--- a/tests/Connection_Failure/client.cpp
+++ b/tests/Connection_Failure/client.cpp
@@ -29,7 +29,10 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
"_narrow() to non-existent object failed correctly. Test succeeded.\n"));
return 0;
}
-
+ catch (const ::CORBA::Exception &ex)
+ {
+ ex._tao_print_exception("ERROR : unexpected CORBA exception caugth :");
+ }
// Should not reach here.
ACE_ERROR_RETURN ((LM_ERROR,
"_narrow() succeeded to non-existent object when it should not have...\n"),