summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r--TAO/tao/ORB.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index 106bc2961e6..96391e5665d 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -82,7 +82,8 @@ int CORBA_ORB::orb_init_count_ = 0;
// ****************************************************************
CORBA::ORB::InvalidName::InvalidName (void)
- : CORBA_UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0")
+ : CORBA_UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0",
+ "InvalidName")
{
}
@@ -93,7 +94,8 @@ CORBA::ORB::InvalidName::~InvalidName (void)
// Copy constructor.
CORBA::ORB::InvalidName::InvalidName (const ::CORBA::ORB::InvalidName &_tao_excp)
- : CORBA_UserException (_tao_excp._id ())
+ : CORBA_UserException (_tao_excp._rep_id (),
+ _tao_excp._name ())
{
}
@@ -108,7 +110,7 @@ CORBA::ORB::InvalidName::operator= (const ::CORBA::ORB::InvalidName &_tao_excp)
CORBA::ORB::InvalidName *
CORBA::ORB::InvalidName::_downcast (CORBA::Exception *exc)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/ORB/InvalidName:1.0", exc->_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/ORB/InvalidName:1.0", exc->_rep_id ()))
{
return ACE_dynamic_cast (InvalidName *, exc);
}