summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1270_Regression/ORB_Task.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:17:52 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-25 18:17:52 +0000
commit2ee7b7eed4c0cc10f4ec25b186b04202af01b565 (patch)
tree08a8a649c90559cf5b2228c1caad15515902613e /TAO/tests/Bug_1270_Regression/ORB_Task.cpp
parentc979767a00db4ea1299af482033a68829cc16675 (diff)
downloadATCD-2ee7b7eed4c0cc10f4ec25b186b04202af01b565.tar.gz
ChangeLogTag: Thu Jan 25 17:39:59 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/Bug_1270_Regression/ORB_Task.cpp')
-rw-r--r--TAO/tests/Bug_1270_Regression/ORB_Task.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tests/Bug_1270_Regression/ORB_Task.cpp b/TAO/tests/Bug_1270_Regression/ORB_Task.cpp
index 212bd3ea422..910d86061af 100644
--- a/TAO/tests/Bug_1270_Regression/ORB_Task.cpp
+++ b/TAO/tests/Bug_1270_Regression/ORB_Task.cpp
@@ -19,14 +19,12 @@ ORB_Task::ORB_Task (CORBA::ORB_ptr orb)
int
ORB_Task::svc (void)
{
- ACE_DECLARE_NEW_CORBA_ENV;
- ACE_TRY
+ try
{
this->orb_->run ();
}
- ACE_CATCH (CORBA::Exception, ex)
+ catch (const CORBA::Exception& )
{
}
- ACE_ENDTRY;
return 0;
}