summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionC.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-25 21:47:51 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-25 21:47:51 +0000
commit57646ca04e24c1895b02b21b0453a20cc843c9b7 (patch)
tree7ad632332e4516e94bffc52656197a9dca68fe9d /TAO/tao/WrongTransactionC.cpp
parentac3fed7d682dac67d438ced0495ab71a9616fe0a (diff)
downloadATCD-57646ca04e24c1895b02b21b0453a20cc843c9b7.tar.gz
ChangeLogTag: Thu Apr 25 16:42:04 2002 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/WrongTransactionC.cpp')
-rw-r--r--TAO/tao/WrongTransactionC.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/tao/WrongTransactionC.cpp b/TAO/tao/WrongTransactionC.cpp
index 5ee54b41718..0047bc59a12 100644
--- a/TAO/tao/WrongTransactionC.cpp
+++ b/TAO/tao/WrongTransactionC.cpp
@@ -43,7 +43,10 @@
// Default constructor.
CORBA::WrongTransaction::WrongTransaction (void)
- : CORBA_UserException ("IDL:omg.org/CORBA/WrongTransaction:1.0")
+ : CORBA_UserException (
+ "IDL:omg.org/CORBA/WrongTransaction:1.0",
+ "WrongTransaction"
+ )
{
}
@@ -54,7 +57,10 @@ CORBA::WrongTransaction::~WrongTransaction (void)
// Copy constructor.
CORBA::WrongTransaction::WrongTransaction (const ::CORBA::WrongTransaction &_tao_excp)
- : CORBA_UserException (_tao_excp._id ())
+ : CORBA_UserException (
+ _tao_excp._rep_id (),
+ _tao_excp._name ()
+ )
{
}
@@ -75,7 +81,7 @@ void CORBA::WrongTransaction::_tao_any_destructor (void *_tao_void_pointer)
CORBA::WrongTransaction *
CORBA::WrongTransaction::_downcast (CORBA::Exception *exc)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/WrongTransaction:1.0", exc->_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/WrongTransaction:1.0", exc->_rep_id ()))
{
return ACE_dynamic_cast (WrongTransaction *, exc);
}