summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 16:37:36 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 16:37:36 +0000
commit26484869bb9ecb24427ece412d45c5e433f52714 (patch)
treed2fb2bdcd1d89b5d09e16014280cd072e368331e
parente2e9d6f5d7ae8a6720df476eab6625e4c19934f8 (diff)
downloadATCD-26484869bb9ecb24427ece412d45c5e433f52714.tar.gz
-rw-r--r--TAO/tao/Messaging/AMH_Response_Handler.cpp2
-rw-r--r--TAO/tao/Messaging/Messaging_ORBInitializer.cpp2
-rw-r--r--TAO/tao/ORB.cpp4
-rw-r--r--TAO/tao/ORBInitializer_Registry.cpp2
-rw-r--r--TAO/tao/ORB_Core.cpp10
-rw-r--r--TAO/tao/PI/ORBInitInfo.cpp2
-rw-r--r--TAO/tao/PI/ORBInitializer_Registry_Impl.cpp2
-rw-r--r--TAO/tao/PI/PICurrent_Impl.cpp4
-rw-r--r--TAO/tao/PI/PolicyFactory_Registry.cpp2
-rw-r--r--TAO/tao/PI_Server/ServerInterceptorAdapter.cpp4
-rw-r--r--TAO/tao/PI_Server/ServerRequestInfo.cpp2
-rw-r--r--TAO/tao/PortableServer/LifespanStrategyPersistent.cpp2
-rw-r--r--TAO/tao/Profile_Transport_Resolver.cpp2
-rw-r--r--TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp2
-rw-r--r--TAO/tao/RTCORBA/RT_Mutex.cpp4
-rw-r--r--TAO/tao/RTCORBA/RT_ORB.cpp2
-rw-r--r--TAO/tao/RTCORBA/RT_ORBInitializer.cpp2
-rw-r--r--TAO/tao/RTScheduling/RTScheduler_Initializer.cpp4
-rw-r--r--TAO/tao/RTScheduling/Request_Interceptor.cpp4
-rw-r--r--TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp2
20 files changed, 30 insertions, 30 deletions
diff --git a/TAO/tao/Messaging/AMH_Response_Handler.cpp b/TAO/tao/Messaging/AMH_Response_Handler.cpp
index 45d42f11694..1b020e6ab93 100644
--- a/TAO/tao/Messaging/AMH_Response_Handler.cpp
+++ b/TAO/tao/Messaging/AMH_Response_Handler.cpp
@@ -208,7 +208,7 @@ TAO_AMH_Response_Handler::_tao_rh_send_exception (CORBA::Exception &ex
reply_params,
ex) == -1)
{
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
// Send the Exception
diff --git a/TAO/tao/Messaging/Messaging_ORBInitializer.cpp b/TAO/tao/Messaging/Messaging_ORBInitializer.cpp
index 6d036909a46..7fb43b0f8ea 100644
--- a/TAO/tao/Messaging/Messaging_ORBInitializer.cpp
+++ b/TAO/tao/Messaging/Messaging_ORBInitializer.cpp
@@ -64,7 +64,7 @@ TAO_Messaging_ORBInitializer::register_value_factory (
"\"PortableInterceptor::ORBInitInfo_ptr\" to\n"
"(%P|%t) \"TAO_ORBInitInfo *.\"\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
TAO::ExceptionHolderFactory *base_factory = 0;
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index 58f05bbe9a6..a7a2bcf035a 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -276,7 +276,7 @@ CORBA::ORB::create_list (CORBA::Long count, CORBA::NVList_ptr &new_list)
ACE_TEXT ("(%P|%t) %p\n"),
ACE_TEXT ("ORB unable to find the ")
ACE_TEXT ("NVList Adapter instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
adapter->create_list (count, new_list);
@@ -337,7 +337,7 @@ CORBA::ORB::create_named_value (CORBA::NamedValue_ptr &nv)
ACE_TEXT ("ORB unable to find the ")
ACE_TEXT ("NVList Adapter instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
adapter->create_named_value (nv);
diff --git a/TAO/tao/ORBInitializer_Registry.cpp b/TAO/tao/ORBInitializer_Registry.cpp
index 8a00ecd6f77..8e1581ef989 100644
--- a/TAO/tao/ORBInitializer_Registry.cpp
+++ b/TAO/tao/ORBInitializer_Registry.cpp
@@ -80,7 +80,7 @@ namespace PortableInterceptor
ACE_TEXT ("ERROR: ORBInitializer Registry unable to find the ")
ACE_TEXT ("ORBInitializer Registry instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
}
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index d3a8b9b1127..1960ccc15d6 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -3261,7 +3261,7 @@ TAO_ORB_Core::add_interceptor (
ACE_TEXT ("ERROR: ORB Core unable to find the ")
ACE_TEXT ("IORInterceptor Adapter Factory instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
@@ -3322,7 +3322,7 @@ TAO_ORB_Core::add_interceptor (
ACE_TEXT ("Client Request Interceptor Adapter Factory ")
ACE_TEXT ("instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
@@ -3372,7 +3372,7 @@ TAO_ORB_Core::add_interceptor (
ACE_TEXT ("Server Request Interceptor Adapter Factory ")
ACE_TEXT ("instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
@@ -3398,7 +3398,7 @@ TAO_ORB_Core::add_interceptor (
ACE_TEXT ("Client Request Interceptor Adapter Factory ")
ACE_TEXT ("instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
@@ -3424,7 +3424,7 @@ TAO_ORB_Core::add_interceptor (
ACE_TEXT ("Server Request Interceptor Adapter Factory ")
ACE_TEXT ("instance")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
diff --git a/TAO/tao/PI/ORBInitInfo.cpp b/TAO/tao/PI/ORBInitInfo.cpp
index 9bda8e24fec..e33f0f500c7 100644
--- a/TAO/tao/PI/ORBInitInfo.cpp
+++ b/TAO/tao/PI/ORBInitInfo.cpp
@@ -358,7 +358,7 @@ TAO_ORBInitInfo::register_policy_factory (
if (registry == 0)
{
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
registry->register_policy_factory (type,
diff --git a/TAO/tao/PI/ORBInitializer_Registry_Impl.cpp b/TAO/tao/PI/ORBInitializer_Registry_Impl.cpp
index 2d45c545dd6..f47bc2ada8f 100644
--- a/TAO/tao/PI/ORBInitializer_Registry_Impl.cpp
+++ b/TAO/tao/PI/ORBInitializer_Registry_Impl.cpp
@@ -105,7 +105,7 @@ TAO::ORBInitializer_Registry::register_orb_initializer (
size_t const cur_len = this->initializers_.size ();
size_t const new_len = cur_len + 1;
if (this->initializers_.size (new_len) != 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
// Add the given ORBInitializer to the sequence.
this->initializers_[cur_len] =
diff --git a/TAO/tao/PI/PICurrent_Impl.cpp b/TAO/tao/PI/PICurrent_Impl.cpp
index 5de7cd7f8b1..e1b5a29c5cc 100644
--- a/TAO/tao/PI/PICurrent_Impl.cpp
+++ b/TAO/tao/PI/PICurrent_Impl.cpp
@@ -33,7 +33,7 @@ TAO::PICurrent_Impl::get_slot (PortableInterceptor::SlotId identifier
{
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) Lazy copy of self detected at %N,%l\n")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
// Get the slot table that is currently active
@@ -91,7 +91,7 @@ TAO::PICurrent_Impl::set_slot (PortableInterceptor::SlotId identifier,
// slots for the reason stated above.
if (identifier >= this->slot_table_.size ()
&& this->slot_table_.size (identifier + 1) != 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
this->slot_table_[identifier] = CORBA::Any (data);
}
diff --git a/TAO/tao/PI/PolicyFactory_Registry.cpp b/TAO/tao/PI/PolicyFactory_Registry.cpp
index 5b0b76860a8..f32a3b08ba9 100644
--- a/TAO/tao/PI/PolicyFactory_Registry.cpp
+++ b/TAO/tao/PI/PolicyFactory_Registry.cpp
@@ -65,7 +65,7 @@ TAO_PolicyFactory_Registry::register_policy_factory (
else
{
// Could not add PolicyFactory due to internal bind failures.
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
}
diff --git a/TAO/tao/PI_Server/ServerInterceptorAdapter.cpp b/TAO/tao/PI_Server/ServerInterceptorAdapter.cpp
index eb4e2ef455f..27de9bb2643 100644
--- a/TAO/tao/PI_Server/ServerInterceptorAdapter.cpp
+++ b/TAO/tao/PI_Server/ServerInterceptorAdapter.cpp
@@ -119,7 +119,7 @@ TAO::ServerRequestInterceptor_Adapter_Impl::receive_request_service_contexts (
// evaluates to "true," then it is likely that a starting
// interception point was never invoked. This is of course, an
// internal error that must be corrected.
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
try
@@ -259,7 +259,7 @@ TAO::ServerRequestInterceptor_Adapter_Impl::receive_request (
// evaluates to "true," then it is likely that a starting
// interception point was never invoked. This is of course, an
// internal error that must be corrected.
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
TAO::ServerRequestInfo request_info (server_request,
diff --git a/TAO/tao/PI_Server/ServerRequestInfo.cpp b/TAO/tao/PI_Server/ServerRequestInfo.cpp
index b40652ee427..88efb7bffd9 100644
--- a/TAO/tao/PI_Server/ServerRequestInfo.cpp
+++ b/TAO/tao/PI_Server/ServerRequestInfo.cpp
@@ -513,7 +513,7 @@ TAO::ServerRequestInfo::set_slot (PortableInterceptor::SlotId id,
dynamic_cast <TAO::PICurrent*> (pi_current_obj);
if (pi_current == 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
pi_current->check_validity (id);
diff --git a/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp b/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp
index 266c037036f..3d089ef2b79 100644
--- a/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp
+++ b/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp
@@ -107,7 +107,7 @@ namespace TAO
ACE_TEXT ("(%P|%t) ERROR: No ImR_Client library ")
ACE_TEXT ("available but use IMR has been specified.\n")));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
}
diff --git a/TAO/tao/Profile_Transport_Resolver.cpp b/TAO/tao/Profile_Transport_Resolver.cpp
index 7047469d4f0..3b8d01d597f 100644
--- a/TAO/tao/Profile_Transport_Resolver.cpp
+++ b/TAO/tao/Profile_Transport_Resolver.cpp
@@ -93,7 +93,7 @@ namespace TAO
if (this->transport_.get () == 0)
{
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
const TAO_GIOP_Message_Version& version =
diff --git a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
index 72481b3476a..479314b95ff 100644
--- a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
+++ b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
@@ -31,7 +31,7 @@ TAO_RT_Invocation_Endpoint_Selector::select_endpoint (
)
{
if (r == 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
CORBA::Policy_var client_protocol_policy_base =
TAO_RT_Endpoint_Utils::policy (TAO_CACHED_POLICY_RT_CLIENT_PROTOCOL,
diff --git a/TAO/tao/RTCORBA/RT_Mutex.cpp b/TAO/tao/RTCORBA/RT_Mutex.cpp
index fefde587437..e00d5d921ec 100644
--- a/TAO/tao/RTCORBA/RT_Mutex.cpp
+++ b/TAO/tao/RTCORBA/RT_Mutex.cpp
@@ -21,7 +21,7 @@ TAO_RT_Mutex::lock (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
if (this->mu_.acquire () != 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
void
@@ -29,7 +29,7 @@ TAO_RT_Mutex::unlock (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
if (this->mu_.release () != 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
CORBA::Boolean
diff --git a/TAO/tao/RTCORBA/RT_ORB.cpp b/TAO/tao/RTCORBA/RT_ORB.cpp
index bc94e1f7926..0f4131d8071 100644
--- a/TAO/tao/RTCORBA/RT_ORB.cpp
+++ b/TAO/tao/RTCORBA/RT_ORB.cpp
@@ -130,7 +130,7 @@ TAO_Named_RT_Mutex_Manager::destroy_mutex (RTCORBA::Mutex_ptr mutex
this->map_.unbind (name);
if (result != 0)
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
}
#else /* TAO_HAS_NAMED_RT_MUTEXES == 1 */
diff --git a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
index 724f2f49578..9d3ad97e41e 100644
--- a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
+++ b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
@@ -176,7 +176,7 @@ TAO_RT_ORBInitializer::pre_init (
"\"PortableInterceptor::ORBInitInfo_ptr\" to\n"
"(%P|%t) \"TAO_ORBInitInfo *.\"\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
// Create the RT_ORB.
diff --git a/TAO/tao/RTScheduling/RTScheduler_Initializer.cpp b/TAO/tao/RTScheduling/RTScheduler_Initializer.cpp
index 44f47149ffe..b88594c4c84 100644
--- a/TAO/tao/RTScheduling/RTScheduler_Initializer.cpp
+++ b/TAO/tao/RTScheduling/RTScheduler_Initializer.cpp
@@ -52,7 +52,7 @@ void
"\"PortableInterceptor::ORBInitInfo_ptr\" to\n"
"(%P|%t) \"TAO_ORBInitInfo *.\"\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
@@ -153,7 +153,7 @@ TAO_RTScheduler_ORB_Initializer::post_init (PortableInterceptor::ORBInitInfo_ptr
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) ::post_init \n"
"(%P|%t) Unable to narrow to RTCORBA::Current\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
this->current_->rt_current (rt_current.in ());
diff --git a/TAO/tao/RTScheduling/Request_Interceptor.cpp b/TAO/tao/RTScheduling/Request_Interceptor.cpp
index 87aeead2e8b..aabeae14ece 100644
--- a/TAO/tao/RTScheduling/Request_Interceptor.cpp
+++ b/TAO/tao/RTScheduling/Request_Interceptor.cpp
@@ -74,7 +74,7 @@ Client_Interceptor::send_request (PortableInterceptor::ClientRequestInfo_ptr ri)
{
ACE_DEBUG ((LM_DEBUG,
"No Scheduling Segment Context\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
@@ -359,7 +359,7 @@ Server_Interceptor::receive_request (PortableInterceptor::ServerRequestInfo_ptr
if (result != 0)
{
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
// Create new temporary current. Note that the new <sched_param> is
diff --git a/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp b/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
index 7c5edf734ef..a8a39de3df5 100644
--- a/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
+++ b/TAO/tao/TransportCurrent/Current_ORBInitializer_Base.cpp
@@ -41,7 +41,7 @@ namespace TAO
"TAO (%P|%t) TAO::Transport::ORBInitializer::pre_init - "
"Panic: unable to narrow the ORBInitInfo_ptr\n"));
- throw ( ::CORBA::INTERNAL ());
+ throw ::CORBA::INTERNAL ();
}
// Reserve a TSS slot in the ORB core internal TSS resources for the