diff options
Diffstat (limited to 'TAO/tao/Thread_Lane_Resources.cpp')
-rw-r--r-- | TAO/tao/Thread_Lane_Resources.cpp | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/TAO/tao/Thread_Lane_Resources.cpp b/TAO/tao/Thread_Lane_Resources.cpp index d3044934790..3dad3441c1b 100644 --- a/TAO/tao/Thread_Lane_Resources.cpp +++ b/TAO/tao/Thread_Lane_Resources.cpp @@ -122,30 +122,20 @@ TAO_Thread_Lane_Resources::connector_registry (void) if (connector_registry == 0) { - ACE_THROW_RETURN ( - CORBA::INITIALIZE ( - CORBA::SystemException::_tao_minor_code ( - TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE, - 0 - ), - CORBA::COMPLETED_NO - ), - 0 - ); + throw ::CORBA::INITIALIZE ( + CORBA::SystemException::_tao_minor_code ( + TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE, + 0), + CORBA::COMPLETED_NO); } if (connector_registry->open (&this->orb_core_) != 0) { - ACE_THROW_RETURN ( - CORBA::INITIALIZE ( - CORBA::SystemException::_tao_minor_code ( - TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE, - 0 - ), - CORBA::COMPLETED_NO - ), - 0 - ); + throw ::CORBA::INITIALIZE ( + CORBA::SystemException::_tao_minor_code ( + TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE, + 0), + CORBA::COMPLETED_NO); } // Finally, everything is created and opened successfully: |