summaryrefslogtreecommitdiff
path: root/tests/Connection_Failure/client.cpp
diff options
context:
space:
mode:
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"),