diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp index b98aa19dc88..be0914d8d92 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp @@ -143,8 +143,7 @@ TAO_Contained_i::id_i (const char *id == 0) { // Repository id already exists. - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 2, - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (2, CORBA::COMPLETED_NO)); } // Get the old id. @@ -249,8 +248,7 @@ TAO_Contained_i::name_i (const char *name if (exists) { - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 3, - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (3, CORBA::COMPLETED_NO)); } // Reset the local name. @@ -534,7 +532,7 @@ TAO_Contained_i::move_i (CORBA::Container_ptr new_container, { if (my_repo.in () != new_container) { - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 4, + ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO)); } @@ -560,8 +558,7 @@ TAO_Contained_i::move_i (CORBA::Container_ptr new_container, if (my_repo.in () != your_repo.in ()) { - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 4, - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO)); } this->repo_->config ()->expand_path (this->repo_->root_key (), @@ -872,8 +869,7 @@ TAO_Contained_i::move_i (CORBA::Container_ptr new_container, } else { - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 4, - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO)); } } case CORBA::dk_Operation: @@ -937,8 +933,7 @@ TAO_Contained_i::move_i (CORBA::Container_ptr new_container, } else { - ACE_THROW (CORBA::BAD_PARAM (CORBA::OMGVMCID | 4, - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO)); } } case CORBA::dk_Value: |