diff options
Diffstat (limited to 'TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp')
-rw-r--r-- | TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp b/TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp index 00c30c716b2..827ac975c0d 100644 --- a/TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp +++ b/TAO/tao/PI_Server/PortableServer_ORBInitializer.cpp @@ -18,17 +18,14 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL void TAO_PortableServer_ORBInitializer::pre_init ( PortableInterceptor::ORBInitInfo_ptr) - ACE_THROW_SPEC ((CORBA::SystemException)) { } void TAO_PortableServer_ORBInitializer::post_init ( PortableInterceptor::ORBInitInfo_ptr info) - ACE_THROW_SPEC ((CORBA::SystemException)) { - this->register_policy_factories (info - ); + this->register_policy_factories (info); } void @@ -74,7 +71,7 @@ TAO_PortableServer_ORBInitializer::register_policy_factories ( { info->register_policy_factory (*i, policy_factory.in ()); } - catch ( ::CORBA::BAD_INV_ORDER& ex) + catch (const ::CORBA::BAD_INV_ORDER& ex) { if (ex.minor () == (CORBA::OMGVMCID | 16)) { @@ -87,11 +84,6 @@ TAO_PortableServer_ORBInitializer::register_policy_factories ( } throw; } - catch ( ::CORBA::Exception&) - { - // Rethrow any other exceptions... - throw; - } } #else ACE_UNUSED_ARG (info); |