#include <WrongTransactionC.h>


Public Member Functions | |
| WrongTransaction (void) | |
| WrongTransaction (const WrongTransaction &) | |
| ~WrongTransaction (void) | |
| WrongTransaction & | operator= (const WrongTransaction &) |
| Assignment operator. | |
| virtual CORBA::Exception * | _tao_duplicate (void) const |
| Deep copy. | |
| virtual void | _raise (void) const |
| virtual void | _tao_encode (TAO_OutputCDR &) const |
| virtual void | _tao_decode (TAO_InputCDR &) |
| virtual CORBA::TypeCode_ptr | _tao_type (void) const |
| Will be overridden in the concrete derived classes. | |
Static Public Member Functions | |
| static void | _tao_any_destructor (void *) |
| Used in the non-copying Any insertion operator. | |
| static WrongTransaction * | _downcast (CORBA::Exception *) |
| The narrow operation. | |
| static const WrongTransaction * | _downcast (CORBA::Exception const *) |
| The const version of narrow operation. | |
| static CORBA::Exception * | _alloc (void) |
Definition at line 70 of file WrongTransactionC.h.
| CORBA::WrongTransaction::WrongTransaction | ( | void | ) |
Definition at line 54 of file WrongTransactionC.cpp.
00055 : CORBA::UserException ( 00056 "IDL:omg.org/CORBA/WrongTransaction:1.0", 00057 "WrongTransaction" 00058 ) 00059 { 00060 }
| CORBA::WrongTransaction::WrongTransaction | ( | const WrongTransaction & | ) |
| CORBA::WrongTransaction::~WrongTransaction | ( | void | ) |
Definition at line 62 of file WrongTransactionC.cpp.
| CORBA::Exception * CORBA::WrongTransaction::_alloc | ( | void | ) | [static] |
Definition at line 100 of file WrongTransactionC.cpp.
00101 { 00102 CORBA::Exception *retval = 0; 00103 ACE_NEW_RETURN (retval, ::CORBA::WrongTransaction, 0); 00104 return retval; 00105 }
| const CORBA::WrongTransaction * CORBA::WrongTransaction::_downcast | ( | CORBA::Exception const * | exception | ) | [static] |
The const version of narrow operation.
Reimplemented from CORBA::UserException.
Definition at line 95 of file WrongTransactionC.cpp.
00096 { 00097 return dynamic_cast<const WrongTransaction *> (_tao_excp); 00098 }
| CORBA::WrongTransaction * CORBA::WrongTransaction::_downcast | ( | CORBA::Exception * | exception | ) | [static] |
The narrow operation.
Reimplemented from CORBA::UserException.
Definition at line 89 of file WrongTransactionC.cpp.
00090 { 00091 return dynamic_cast<WrongTransaction *> (_tao_excp); 00092 }
| void CORBA::WrongTransaction::_raise | ( | void | ) | const [virtual] |
Implements CORBA::UserException.
Definition at line 119 of file WrongTransactionC.cpp.
| void CORBA::WrongTransaction::_tao_any_destructor | ( | void * | x | ) | [static] |
Used in the non-copying Any insertion operator.
Reimplemented from CORBA::Exception.
Definition at line 81 of file WrongTransactionC.cpp.
00082 { 00083 WrongTransaction *_tao_tmp_pointer = 00084 static_cast<WrongTransaction *> (_tao_void_pointer); 00085 delete _tao_tmp_pointer; 00086 }
| void CORBA::WrongTransaction::_tao_decode | ( | TAO_InputCDR & | cdr | ) | [virtual] |
Implements CORBA::Exception.
Definition at line 136 of file WrongTransactionC.cpp.
| CORBA::Exception * CORBA::WrongTransaction::_tao_duplicate | ( | void | ) | const [virtual] |
Deep copy.
The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:
class SomeException : public // Derives from CORBA::Exception { public: virtual CORBA::Exception *_tao_duplicate (void) const { CORBA::Exception *result = 0; ACE_NEW_RETURN ( result, SomeException (*this), 0 ); return result; } };
Implements CORBA::Exception.
Definition at line 108 of file WrongTransactionC.cpp.
00109 { 00110 CORBA::Exception *result = 0; 00111 ACE_NEW_RETURN ( 00112 result, 00113 ::CORBA::WrongTransaction (*this), 00114 0 00115 ); 00116 return result; 00117 }
| void CORBA::WrongTransaction::_tao_encode | ( | TAO_OutputCDR & | cdr | ) | const [virtual] |
Implements CORBA::Exception.
Definition at line 124 of file WrongTransactionC.cpp.
| CORBA::TypeCode_ptr CORBA::WrongTransaction::_tao_type | ( | void | ) | const [virtual] |
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException.
Definition at line 149 of file WrongTransactionC.cpp.
00150 { 00151 TAO_AnyTypeCode_Adapter *adapter = 00152 ACE_Dynamic_Service<TAO_AnyTypeCode_Adapter>::instance ( 00153 "AnyTypeCode_Adapter" 00154 ); 00155 if (adapter != 0) 00156 return adapter->_tao_type_WrongTransaction (); 00157 else 00158 { 00159 ACE_ERROR ((LM_ERROR, 00160 ACE_TEXT ("(%P|%t) %p\n"), 00161 ACE_TEXT ("Unable to find the ") 00162 ACE_TEXT ("AnyTypeCode Adapter instance"))); 00163 return 0; 00164 } 00165 }
| WrongTransaction& CORBA::WrongTransaction::operator= | ( | const WrongTransaction & | rhs | ) |
Assignment operator.
Reimplemented from CORBA::UserException.
1.6.1