From af995856181cef8585f2181b127e911f6b569c2c Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Sun, 18 Mar 2001 21:37:56 +0000 Subject: ChangeLogTag:Sun Mar 18 13:30:00 2001 Ossama Othman --- TAO/ChangeLogs/ChangeLog-02a | 8 ++++++++ TAO/tao/Exception.cpp | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index d4ca7f236e2..b760d628baa 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Sun Mar 18 13:30:00 2001 Ossama Othman + + * tao/Exception.cpp (_info): + + Fixed _is_a() call on CORBA::BAD_PARAM() exception. The + repository ID passed to the _is_a() call was missing the + version. + Sun Mar 18 11:50:57 2001 Ossama Othman * tao/Exception.cpp (_info): diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp index 256fb062662..036c75daecf 100644 --- a/TAO/tao/Exception.cpp +++ b/TAO/tao/Exception.cpp @@ -567,7 +567,7 @@ CORBA_SystemException::_info (void) const CORBA::ULong minor_code = this->minor () & 0xFFFU; - if (this->_is_a ("IDL:omg.org/CORBA/BAD_PARAM")) + if (this->_is_a ("IDL:omg.org/CORBA/BAD_PARAM:1.0")) { switch (minor_code) @@ -575,7 +575,7 @@ CORBA_SystemException::_info (void) const case TAO_OMG_MINOR_BAD_PARAM_10: minor_description = "string_to_object conversion failed due " - "to non specific reason"; + "to non-specific reason"; break; default: break; -- cgit v1.2.1