summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp
index 390bbe8a317..a4955817b4b 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool3/OrbTask.cpp
@@ -74,18 +74,16 @@ OrbTask::open(void*)
int
OrbTask::svc()
{
- ACE_TRY_NEW_ENV
+ try
{
- this->orb_->run(ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ this->orb_->run();
}
- ACE_CATCHALL
+ catch (...)
{
ACE_ERROR((LM_ERROR,
"(%P|%t) Exception raised by ORB::run() method. "
"OrbTask is stopping.\n"));
}
- ACE_ENDTRY;
return 0;
}