00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _TAO_IDL_ORIG_WRONGTRANSACTIONC_H_
00032 #define _TAO_IDL_ORIG_WRONGTRANSACTIONC_H_
00033
00034 #include "ace/pre.h"
00035
00036
00037 #include "ace/config-all.h"
00038
00039 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00040 # pragma once
00041 #endif
00042
00043 #include "tao/TAO_Export.h"
00044 #include "tao/ORB.h"
00045
00046 #if defined (TAO_EXPORT_MACRO)
00047 #undef TAO_EXPORT_MACRO
00048 #endif
00049 #define TAO_EXPORT_MACRO TAO_Export
00050
00051 #if defined(_MSC_VER)
00052 #pragma warning(push)
00053 #pragma warning(disable:4250)
00054 #endif
00055
00056 #if defined (__BORLANDC__)
00057 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00058 #endif
00059
00060
00061
00062
00063 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00064
00065 namespace CORBA
00066 {
00067
00068
00069
00070
00071 #if !defined (_CORBA_WRONGTRANSACTION_CH_)
00072 #define _CORBA_WRONGTRANSACTION_CH_
00073
00074 class TAO_Export WrongTransaction : public CORBA::UserException
00075 {
00076 public:
00077
00078 WrongTransaction (void);
00079 WrongTransaction (const WrongTransaction &);
00080 ~WrongTransaction (void);
00081
00082 WrongTransaction &operator= (const WrongTransaction &);
00083
00084 static void _tao_any_destructor (void *);
00085
00086 static WrongTransaction *_downcast (CORBA::Exception *);
00087 static const WrongTransaction *_downcast (CORBA::Exception const *);
00088
00089 static CORBA::Exception *_alloc (void);
00090
00091 virtual CORBA::Exception *_tao_duplicate (void) const;
00092
00093 virtual void _raise (void) const;
00094
00095 virtual void _tao_encode (
00096 TAO_OutputCDR &
00097 ) const;
00098
00099 virtual void _tao_decode (
00100 TAO_InputCDR &
00101 );
00102
00103
00104
00105
00106 virtual CORBA::TypeCode_ptr _tao_type (void) const;
00107 };
00108
00109 #endif
00110
00111
00112
00113
00114 }
00115
00116
00117
00118
00119
00120 namespace TAO
00121 {
00122 }
00123
00124
00125
00126
00127 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::WrongTransaction &);
00128 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::WrongTransaction &);
00129
00130
00131
00132
00133 TAO_END_VERSIONED_NAMESPACE_DECL
00134
00135 #if defined(_MSC_VER)
00136 #pragma warning(pop)
00137 #endif
00138
00139 #if defined (__BORLANDC__)
00140 #pragma option pop
00141 #endif
00142
00143 #include "ace/post.h"
00144
00145 #endif
00146
00147