diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-19 05:27:00 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-03-19 05:27:00 +0000 |
commit | 24a480ed054c471d4afc6f0e4af463519c6e5b1a (patch) | |
tree | d54ec048af1b08daa8c5fe00c061f7c102f4015b /TAO/tao/Object_Ref_Table.cpp | |
parent | a7d600abc9d5bd1d358e999e5f1f37304207a5af (diff) | |
download | ATCD-24a480ed054c471d4afc6f0e4af463519c6e5b1a.tar.gz |
ChangeLogTag:Sun Mar 18 21:13:36 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Object_Ref_Table.cpp')
-rw-r--r-- | TAO/tao/Object_Ref_Table.cpp | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/TAO/tao/Object_Ref_Table.cpp b/TAO/tao/Object_Ref_Table.cpp index a8d6f5ac5c0..c1bfcadb7c4 100644 --- a/TAO/tao/Object_Ref_Table.cpp +++ b/TAO/tao/Object_Ref_Table.cpp @@ -41,24 +41,15 @@ TAO_Object_Ref_Table::register_initial_reference ( CORBA::Environment &ACE_TRY_ENV) { if (id == 0) - ACE_THROW (CORBA::BAD_PARAM ( - CORBA::SystemException::_tao_minor_code ( - TAO_DEFAULT_MINOR_CODE, - EINVAL), - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (TAO_OMG_VMCID | 24, + CORBA::COMPLETED_NO)); else if (ACE_OS_String::strlen (id) == 0) - ACE_THROW (CORBA::BAD_PARAM ( - CORBA::SystemException::_tao_minor_code ( - TAO_DEFAULT_MINOR_CODE, - EINVAL), - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (TAO_OMG_VMCID | 24, + CORBA::COMPLETED_NO)); if (CORBA::is_nil (obj)) - ACE_THROW (CORBA::INV_OBJREF ( - CORBA_SystemException::_tao_minor_code ( - TAO_DEFAULT_MINOR_CODE, - EINVAL), - CORBA::COMPLETED_NO)); + ACE_THROW (CORBA::BAD_PARAM (TAO_OMG_VMCID | 24, + CORBA::COMPLETED_NO)); int result = this->bind (id, obj); |