summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Basic/Simple.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/Simple.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp b/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
index 5cc9b2df6ec..c27af8a8979 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
@@ -231,5 +231,17 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
return 1;
}
- return events.check_results ();
+ int status = 0;
+
+ try
+ {
+ status = events.check_results ();
+ }
+ catch (const CORBA::Exception& se)
+ {
+ se._tao_print_exception ("Error: ");
+ status = 1;
+ }
+
+ return status;
}