diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-24 03:43:52 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-24 03:43:52 +0000 |
commit | 4409cdcd64ee4b7cd19117d89180d5ec585c64ef (patch) | |
tree | 605315bf510f864cf6ae61f7c9c01b5b04f6ef75 | |
parent | db681b32d1c53b7b72970dcd96db0875c24acb01 (diff) | |
download | ATCD-4409cdcd64ee4b7cd19117d89180d5ec585c64ef.tar.gz |
ChangeLogTag:Sun Sep 23 20:34:23 2001 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 8 | ||||
-rw-r--r-- | TAO/tao/Typecode.cpp | 16 |
2 files changed, 17 insertions, 7 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index ce2ddbb908a..7d445bbe521 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Sun Sep 23 20:34:23 2001 Ossama Othman <ossama@uci.edu> + + * tao/Typecode.cpp (BadKind, Bounds): + + Fixed bugs where the RepositoryId for these TypeCode user + exceptions contained the incorrect prefix, i.e. "omg.orb" + instead of "omg.org." + Sun Sep 23 20:11:45 2001 Christopher Kohlhoff <chris@kohlhoff.com> * tests/Collocation/Collocation.bor: diff --git a/TAO/tao/Typecode.cpp b/TAO/tao/Typecode.cpp index 60feb13c445..5ebf7492cdf 100644 --- a/TAO/tao/Typecode.cpp +++ b/TAO/tao/Typecode.cpp @@ -25,11 +25,13 @@ # include "tao/Typecode.i" #endif /* ! __ACE_INLINE__ */ -ACE_RCSID(tao, Typecode, "$Id$") +ACE_RCSID (tao, + Typecode, + "$Id$") CORBA_TypeCode::Bounds::Bounds (void) - : CORBA_UserException ("IDL:omg.orb/CORBA/TypeCode/Bounds:1.0") + : CORBA_UserException ("IDL:omg.org/CORBA/TypeCode/Bounds:1.0") { } @@ -56,7 +58,7 @@ void CORBA_TypeCode::Bounds::_tao_decode (TAO_InputCDR &, CORBA_TypeCode::Bounds* CORBA_TypeCode::Bounds::_downcast (CORBA_Exception *ex) { - if (ex->_is_a ("IDL:omg.orb/CORBA/TypeCode/Bounds:1.0")) + if (ex->_is_a ("IDL:omg.org/CORBA/TypeCode/Bounds:1.0")) return ACE_dynamic_cast (CORBA_TypeCode::Bounds*, ex); return 0; } @@ -65,13 +67,13 @@ int CORBA_TypeCode::Bounds::_is_a (const char* interface_id) const { return ((ACE_OS::strcmp (interface_id, - "IDL:omg.orb/CORBA/TypeCode/Bounds:1.0") + "IDL:omg.org/CORBA/TypeCode/Bounds:1.0") == 0) || CORBA_UserException::_is_a (interface_id)); } CORBA_TypeCode::BadKind::BadKind (void) - : CORBA_UserException ("IDL:omg.orb/CORBA/TypeCode/BadKind:1.0") + : CORBA_UserException ("IDL:omg.org/CORBA/TypeCode/BadKind:1.0") { } @@ -98,7 +100,7 @@ void CORBA_TypeCode::BadKind::_tao_decode (TAO_InputCDR &, CORBA_TypeCode::BadKind* CORBA_TypeCode::BadKind::_downcast (CORBA_Exception *ex) { - if (ex->_is_a ("IDL:omg.orb/CORBA/TypeCode/BadKind:1.0")) + if (ex->_is_a ("IDL:omg.org/CORBA/TypeCode/BadKind:1.0")) return ACE_dynamic_cast (CORBA_TypeCode::BadKind*, ex); return 0; } @@ -107,7 +109,7 @@ int CORBA_TypeCode::BadKind::_is_a (const char* interface_id) const { return ((ACE_OS::strcmp (interface_id, - "IDL:omg.orb/CORBA/TypeCode/BadKind:1.0") + "IDL:omg.org/CORBA/TypeCode/BadKind:1.0") == 0) || CORBA_UserException::_is_a (interface_id)); } |