diff options
Diffstat (limited to 'TAO/tao/PI_Server/ServerRequestDetails.cpp')
-rw-r--r-- | TAO/tao/PI_Server/ServerRequestDetails.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/TAO/tao/PI_Server/ServerRequestDetails.cpp b/TAO/tao/PI_Server/ServerRequestDetails.cpp index c06a9429d1d..166da908552 100644 --- a/TAO/tao/PI_Server/ServerRequestDetails.cpp +++ b/TAO/tao/PI_Server/ServerRequestDetails.cpp @@ -17,7 +17,7 @@ namespace TAO void ServerRequestDetails::apply_policies ( const CORBA::PolicyList &policies - ACE_ENV_ARG_DECL) + ) { // Flag to check for duplicate ProcessingModePolicy objects in the list. bool processing_mode_applied = false; @@ -36,8 +36,7 @@ namespace TAO // Obtain the PolicyType from the current Policy object. const CORBA::PolicyType policy_type = - policy->policy_type (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + policy->policy_type (); if (policy_type == PortableInterceptor::PROCESSING_MODE_POLICY_TYPE) { @@ -45,7 +44,7 @@ namespace TAO { // This is the second time we have run into this policy type, // and that is not allowed. - ACE_THROW (CORBA::INV_POLICY ()); + throw ( ::CORBA::INV_POLICY ()); } // Flip the flag to true in order to trap any dupes. @@ -55,18 +54,16 @@ namespace TAO PortableInterceptor::ProcessingModePolicy_var pm_policy = PortableInterceptor::ProcessingModePolicy::_narrow ( policy.in () - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; + ); // Save the value of the ProcessingModePolicy in our data member. this->processing_mode_ = - pm_policy->processing_mode (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + pm_policy->processing_mode (); } else { // We don't support the current policy type. - ACE_THROW (CORBA::INV_POLICY ()); + throw ( ::CORBA::INV_POLICY ()); } } } |