summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 17:12:19 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 17:12:19 +0000
commitcc5d07419aaf865a09315c0887483d819c29ba02 (patch)
tree243deb2821521dc0c3303f3f80b52f1c1992a573 /TAO
parentdaf9121a64600accf99d8fb989303b5d54a5407b (diff)
downloadATCD-cc5d07419aaf865a09315c0887483d819c29ba02.tar.gz
Diffstat (limited to 'TAO')
-rw-r--r--TAO/tao/CSD_Framework/CSD_Object_Adapter.cpp2
-rw-r--r--TAO/tao/CSD_Framework/CSD_POA.cpp2
-rw-r--r--TAO/tao/DynamicInterface/DII_Arguments_Converter_Impl.cpp2
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptor_Details.cpp2
-rw-r--r--TAO/tao/PI/ClientRequestDetails.cpp4
-rw-r--r--TAO/tao/Policy_Set.cpp8
-rw-r--r--TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp2
-rw-r--r--TAO/tao/Profile.cpp4
-rw-r--r--TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp2
-rw-r--r--TAO/tao/RTCORBA/Thread_Pool.cpp4
-rw-r--r--TAO/tao/RTPortableServer/RT_POA.cpp6
11 files changed, 19 insertions, 19 deletions
diff --git a/TAO/tao/CSD_Framework/CSD_Object_Adapter.cpp b/TAO/tao/CSD_Framework/CSD_Object_Adapter.cpp
index 3b4d70b0b43..35dde4c21ea 100644
--- a/TAO/tao/CSD_Framework/CSD_Object_Adapter.cpp
+++ b/TAO/tao/CSD_Framework/CSD_Object_Adapter.cpp
@@ -33,7 +33,7 @@ TAO_CSD_Object_Adapter::do_dispatch (
if (csd_poa == 0)
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
TAO::CSD::Strategy_Proxy& proxy
diff --git a/TAO/tao/CSD_Framework/CSD_POA.cpp b/TAO/tao/CSD_Framework/CSD_POA.cpp
index 57f6f75de41..aa35f6d9995 100644
--- a/TAO/tao/CSD_Framework/CSD_POA.cpp
+++ b/TAO/tao/CSD_Framework/CSD_POA.cpp
@@ -58,7 +58,7 @@ void TAO_CSD_POA::set_csd_strategy (
{
if (CORBA::is_nil (strategy))
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
this->sds_proxy_->custom_strategy (strategy);
}
diff --git a/TAO/tao/DynamicInterface/DII_Arguments_Converter_Impl.cpp b/TAO/tao/DynamicInterface/DII_Arguments_Converter_Impl.cpp
index c0a8fca220d..7a0968c2b0a 100644
--- a/TAO/tao/DynamicInterface/DII_Arguments_Converter_Impl.cpp
+++ b/TAO/tao/DynamicInterface/DII_Arguments_Converter_Impl.cpp
@@ -39,7 +39,7 @@ TAO_DII_Arguments_Converter_Impl::convert (
if (sz != nargs - 1)
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
// To avoid the use of extraction operators on CORBA::Any, we will
diff --git a/TAO/tao/IORInterceptor/IORInterceptor_Details.cpp b/TAO/tao/IORInterceptor/IORInterceptor_Details.cpp
index 1317d6a642e..6dfeb9f191c 100644
--- a/TAO/tao/IORInterceptor/IORInterceptor_Details.cpp
+++ b/TAO/tao/IORInterceptor/IORInterceptor_Details.cpp
@@ -16,7 +16,7 @@ namespace TAO
)
{
// There are currently no policies that apply to IOR Interceptors.
- throw ( ::CORBA::INV_POLICY ());
+ throw ::CORBA::INV_POLICY ();
}
}
diff --git a/TAO/tao/PI/ClientRequestDetails.cpp b/TAO/tao/PI/ClientRequestDetails.cpp
index dd606ef9a8f..2fe2023f18e 100644
--- a/TAO/tao/PI/ClientRequestDetails.cpp
+++ b/TAO/tao/PI/ClientRequestDetails.cpp
@@ -44,7 +44,7 @@ namespace TAO
{
// This is the second time we have run into this policy type,
// and that is not allowed.
- throw ( ::CORBA::INV_POLICY ());
+ throw ::CORBA::INV_POLICY ();
}
// Flip the flag to true in order to trap any dupes.
@@ -63,7 +63,7 @@ namespace TAO
else
{
// We don't support the current policy type.
- throw ( ::CORBA::INV_POLICY ());
+ throw ::CORBA::INV_POLICY ();
}
}
}
diff --git a/TAO/tao/Policy_Set.cpp b/TAO/tao/Policy_Set.cpp
index bbbba6d016c..1faa2a5a50d 100644
--- a/TAO/tao/Policy_Set.cpp
+++ b/TAO/tao/Policy_Set.cpp
@@ -105,7 +105,7 @@ TAO_Policy_Set::copy_from (TAO_Policy_Set *source
if (! this->compatible_scope (policy->_tao_scope()))
{
- throw ( ::CORBA::NO_PERMISSION ());
+ throw ::CORBA::NO_PERMISSION ();
}
CORBA::Policy_var copy =
@@ -153,7 +153,7 @@ TAO_Policy_Set::set_policy_overrides (const CORBA::PolicyList &policies,
// @@ The spec does not say what to do on this case.
if (set_add != CORBA::SET_OVERRIDE && set_add != CORBA::ADD_OVERRIDE)
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
if (set_add == CORBA::SET_OVERRIDE)
@@ -189,7 +189,7 @@ TAO_Policy_Set::set_policy_overrides (const CORBA::PolicyList &policies,
// responsibility of the user to return it to consistent state.
if (server_protocol_set)
{
- throw ( ::CORBA::INV_POLICY ());
+ throw ::CORBA::INV_POLICY ();
}
server_protocol_set = true;
@@ -205,7 +205,7 @@ TAO_Policy_Set::set_policy (const CORBA::Policy_ptr policy
{
if (! this->compatible_scope (policy->_tao_scope()))
{
- throw ( ::CORBA::NO_PERMISSION ());
+ throw ::CORBA::NO_PERMISSION ();
}
const CORBA::PolicyType policy_type =
diff --git a/TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp b/TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp
index d77d2312d37..f744d954072 100644
--- a/TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp
+++ b/TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp
@@ -849,7 +849,7 @@ namespace TAO
if (this->poa_->has_system_id () &&
!this->poa_->is_poa_generated_id (id))
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
// If the CORBA object denoted by the Object Id value is already
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index fb71f87cffa..09d619e0a0e 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -458,7 +458,7 @@ TAO_Profile::get_policies (CORBA::PolicyList& pl
if (!(in_cdr >> policy_value_seq))
{
- throw ( ::CORBA::INV_OBJREF ());
+ throw ::CORBA::INV_OBJREF ();
}
// Here we extract the Messaging::PolicyValue out of the sequence
@@ -488,7 +488,7 @@ TAO_Profile::get_policies (CORBA::PolicyList& pl
policy_value_seq[i].pvalue.length ());
if (!(in_cdr >> ACE_InputCDR::to_boolean (byte_order)))
- throw ( ::CORBA::INV_OBJREF ());
+ throw ::CORBA::INV_OBJREF ();
in_cdr.reset_byte_order (static_cast <int> (byte_order));
diff --git a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
index 479314b95ff..9e7f93e4556 100644
--- a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
+++ b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp
@@ -145,7 +145,7 @@ TAO_RT_Invocation_Endpoint_Selector::select_endpoint_based_on_client_protocol_po
(*p)[0u] =
CORBA::Policy::_duplicate (client_protocol_policy);
}
- throw ( ::CORBA::INV_POLICY ());
+ throw ::CORBA::INV_POLICY ();
}
// If we get here, we found at least one pertinent profile, but no
diff --git a/TAO/tao/RTCORBA/Thread_Pool.cpp b/TAO/tao/RTCORBA/Thread_Pool.cpp
index 846f759c78f..c57a764b00a 100644
--- a/TAO/tao/RTCORBA/Thread_Pool.cpp
+++ b/TAO/tao/RTCORBA/Thread_Pool.cpp
@@ -225,7 +225,7 @@ TAO_Thread_Lane::validate_and_map_priority (void)
{
// Make sure that static_threads_number_ is not zero.
if (this->static_threads_number_ == 0)
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
// Check that the priority is in bounds.
if (this->lane_priority_ < RTCORBA::minPriority
@@ -235,7 +235,7 @@ TAO_Thread_Lane::validate_and_map_priority (void)
// || this->lane_priority_ > RTCORBA::maxPriority
)
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
CORBA::ORB_ptr orb =
diff --git a/TAO/tao/RTPortableServer/RT_POA.cpp b/TAO/tao/RTPortableServer/RT_POA.cpp
index 1e376e54ce2..1c71e6d4910 100644
--- a/TAO/tao/RTPortableServer/RT_POA.cpp
+++ b/TAO/tao/RTPortableServer/RT_POA.cpp
@@ -140,7 +140,7 @@ TAO_RT_POA::validate_priority (RTCORBA::Priority priority
// || priority > RTCORBA::maxPriority
)
{
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
// If this POA is using a thread pool with lanes, make sure the
@@ -162,7 +162,7 @@ TAO_RT_POA::validate_priority (RTCORBA::Priority priority
return;
}
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
else
// Else we are dealing with a thread pool without lanes.
@@ -197,7 +197,7 @@ TAO_RT_POA::validate_priority (RTCORBA::Priority priority
return;
}
- throw ( ::CORBA::BAD_PARAM ());
+ throw ::CORBA::BAD_PARAM ();
}
}
}