summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/RT_ORBInitializer.cpp')
-rw-r--r--TAO/tao/RTCORBA/RT_ORBInitializer.cpp20
1 files changed, 4 insertions, 16 deletions
diff --git a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
index 0722dc4e0a8..90d7614d6d8 100644
--- a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
+++ b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
@@ -63,7 +63,6 @@ TAO_RT_ORBInitializer::TAO_RT_ORBInitializer (int priority_mapping_type,
void
TAO_RT_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
//
// Register all of the RT related services.
@@ -121,9 +120,7 @@ TAO_RT_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info)
TAO_Priority_Mapping_Manager_var safe_manager = manager;
- info->register_initial_reference ("PriorityMappingManager",
- manager
- );
+ info->register_initial_reference ("PriorityMappingManager", manager);
// Create the initial priority mapping instance.
TAO_Network_Priority_Mapping *npm = 0;
@@ -156,8 +153,7 @@ TAO_RT_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info)
network_manager;
info->register_initial_reference ("NetworkPriorityMappingManager",
- network_manager
- );
+ network_manager);
// Narrow to a TAO_ORBInitInfo object to get access to the
// orb_core() TAO extension.
@@ -200,9 +196,7 @@ TAO_RT_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info)
CORBA::COMPLETED_NO));
CORBA::Object_var safe_rt_current = current;
- info->register_initial_reference (TAO_OBJID_RTCURRENT,
- current
- );
+ info->register_initial_reference (TAO_OBJID_RTCURRENT, current);
tao_info->orb_core ()->orb_params ()->scope_policy (this->scope_policy_);
tao_info->orb_core ()->orb_params ()->sched_policy (this->sched_policy_);
@@ -211,7 +205,6 @@ TAO_RT_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info)
void
TAO_RT_ORBInitializer::post_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->register_policy_factories (info);
}
@@ -259,7 +252,7 @@ TAO_RT_ORBInitializer::register_policy_factories (
{
info->register_policy_factory (*i, this->policy_factory_.in ());
}
- catch ( ::CORBA::BAD_INV_ORDER& ex)
+ catch (const ::CORBA::BAD_INV_ORDER& ex)
{
if (ex.minor () == (CORBA::OMGVMCID | 16))
{
@@ -272,11 +265,6 @@ TAO_RT_ORBInitializer::register_policy_factories (
}
throw;
}
- catch ( ::CORBA::Exception&)
- {
- // Rethrow any other exceptions...
- throw;
- }
}
}