import "WrongTransaction.pidl";
Inheritance diagram for CORBA::WrongTransaction:
Public Member Functions | |
WrongTransaction (void) | |
WrongTransaction (const WrongTransaction &) | |
~WrongTransaction (void) | |
WrongTransaction & | operator= (const WrongTransaction &) |
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 | |
void | _tao_any_destructor (void *) |
Used in the non-copying Any insertion operator. | |
WrongTransaction * | _downcast (CORBA::Exception *) |
The narrow operation. | |
const WrongTransaction * | _downcast (CORBA::Exception const *) |
The const version of narrow operation. | |
CORBA::Exception * | _alloc (void) |
WrongTransaction |
Definition at line 42 of file WrongTransaction.pidl.
|
Definition at line 58 of file WrongTransactionC.cpp.
00059 : CORBA::UserException ( 00060 "IDL:omg.org/CORBA/WrongTransaction:1.0", 00061 "WrongTransaction" 00062 ) 00063 { 00064 } |
|
|
|
Definition at line 66 of file WrongTransactionC.cpp.
00067 { 00068 } |
|
Definition at line 104 of file WrongTransactionC.cpp. References ACE_NEW_RETURN.
00105 { 00106 CORBA::Exception *retval = 0; 00107 ACE_NEW_RETURN (retval, ::CORBA::WrongTransaction, 0); 00108 return retval; 00109 } |
|
The const version of narrow operation.
Reimplemented from CORBA::UserException. Definition at line 99 of file WrongTransactionC.cpp.
00100 {
00101 return dynamic_cast<const WrongTransaction *> (_tao_excp);
00102 }
|
|
The narrow operation.
Reimplemented from CORBA::UserException. Definition at line 93 of file WrongTransactionC.cpp.
00094 {
00095 return dynamic_cast<WrongTransaction *> (_tao_excp);
00096 }
|
|
Implements CORBA::UserException. Definition at line 123 of file WrongTransactionC.cpp.
00124 { 00125 throw *this; 00126 } |
|
Used in the non-copying Any insertion operator.
Reimplemented from CORBA::Exception. Definition at line 85 of file WrongTransactionC.cpp.
00086 { 00087 WrongTransaction *_tao_tmp_pointer = 00088 static_cast<WrongTransaction *> (_tao_void_pointer); 00089 delete _tao_tmp_pointer; 00090 } |
|
Implements CORBA::Exception. Definition at line 140 of file WrongTransactionC.cpp.
00143 { 00144 if (cdr >> *this) 00145 { 00146 return; 00147 } 00148 00149 throw ::CORBA::MARSHAL (); 00150 } |
|
Deep copy. The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:
|
|
Implements CORBA::Exception. Definition at line 128 of file WrongTransactionC.cpp.
00131 { 00132 if (cdr << *this) 00133 { 00134 return; 00135 } 00136 00137 throw ::CORBA::MARSHAL (); 00138 } |
|
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException. Definition at line 153 of file WrongTransactionC.cpp. References ACE_ERROR, ACE_TEXT, ACE_Dynamic_Service< TYPE >::instance(), LM_ERROR, and CORBA::TypeCode_ptr.
00154 { 00155 TAO_AnyTypeCode_Adapter *adapter = 00156 ACE_Dynamic_Service<TAO_AnyTypeCode_Adapter>::instance ( 00157 "AnyTypeCode_Adapter" 00158 ); 00159 if (adapter != 0) 00160 return adapter->_tao_type_WrongTransaction (); 00161 else 00162 { 00163 ACE_ERROR ((LM_ERROR, 00164 ACE_TEXT ("(%P|%t) %p\n"), 00165 ACE_TEXT ("Unable to find the ") 00166 ACE_TEXT ("AnyTypeCode Adapter instance"))); 00167 return 0; 00168 } 00169 } |
|
|