summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Set.cpp
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/tao/Policy_Set.cpp
parentdaf9121a64600accf99d8fb989303b5d54a5407b (diff)
downloadATCD-cc5d07419aaf865a09315c0887483d819c29ba02.tar.gz
Diffstat (limited to 'TAO/tao/Policy_Set.cpp')
-rw-r--r--TAO/tao/Policy_Set.cpp8
1 files changed, 4 insertions, 4 deletions
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 =