summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Policy_Manager.cpp')
-rw-r--r--TAO/tao/Policy_Manager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/tao/Policy_Manager.cpp b/TAO/tao/Policy_Manager.cpp
index 7d61f7fdfe6..ab5aab9c9e4 100644
--- a/TAO/tao/Policy_Manager.cpp
+++ b/TAO/tao/Policy_Manager.cpp
@@ -1,7 +1,5 @@
// $Id$
-#include "tao/orbconf.h"
-
#if defined (TAO_HAS_CORBA_MESSAGING)
#include "tao/Policy_Manager.h"
@@ -22,7 +20,7 @@ TAO_Policy_Manager_Impl::set_policy_overrides (
// @@ The spec does not say what to do on this case.
if (set_add != CORBA::SET_OVERRIDE
&& set_add != CORBA::ADD_OVERRIDE)
- ACE_THROW (CORBA::BAD_PARAM ());
+ ACE_THROW (CORBA::BAD_PARAM (CORBA::COMPLETED_NO));
CORBA::InvalidPolicies invalid_policies;
invalid_policies.indices.length (policies.length ());