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. References TAO_RAISE.
00124 {
00125 TAO_RAISE (*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 141 of file WrongTransactionC.cpp. References ACE_THROW.
00145 {
00146 if (cdr >> *this)
00147 {
00148 return;
00149 }
00150
00151 ACE_THROW (CORBA::MARSHAL ());
00152 }
|
|
|
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. References ACE_THROW.
00132 {
00133 if (cdr << *this)
00134 {
00135 return;
00136 }
00137
00138 ACE_THROW (CORBA::MARSHAL ());
00139 }
|
|
|
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException. Definition at line 155 of file WrongTransactionC.cpp. References ACE_ERROR, ACE_TEXT, ACE_Dynamic_Service< TYPE >::instance(), LM_ERROR, and CORBA::TypeCode_ptr.
00156 {
00157 TAO_AnyTypeCode_Adapter *adapter =
00158 ACE_Dynamic_Service<TAO_AnyTypeCode_Adapter>::instance (
00159 "AnyTypeCode_Adapter"
00160 );
00161 if (adapter != 0)
00162 return adapter->_tao_type_WrongTransaction ();
00163 else
00164 {
00165 ACE_ERROR ((LM_ERROR,
00166 ACE_TEXT ("(%P|%t) %p\n"),
00167 ACE_TEXT ("Unable to find the ")
00168 ACE_TEXT ("AnyTypeCode Adapter instance")));
00169 return 0;
00170 }
00171 }
|
|
|
|
1.3.6