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 #include "tao/Environment.h"
00046
00047 #if defined (TAO_EXPORT_MACRO)
00048 #undef TAO_EXPORT_MACRO
00049 #endif
00050 #define TAO_EXPORT_MACRO TAO_Export
00051
00052 #if defined(_MSC_VER)
00053 #pragma warning(push)
00054 #pragma warning(disable:4250)
00055 #endif
00056
00057 #if defined (__BORLANDC__)
00058 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00059 #endif
00060
00061
00062
00063
00064 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00065
00066 namespace CORBA
00067 {
00068
00069
00070
00071
00072 #if !defined (_CORBA_WRONGTRANSACTION_CH_)
00073 #define _CORBA_WRONGTRANSACTION_CH_
00074
00075 class TAO_Export WrongTransaction : public CORBA::UserException
00076 {
00077 public:
00078
00079 WrongTransaction (void);
00080 WrongTransaction (const WrongTransaction &);
00081 ~WrongTransaction (void);
00082
00083 WrongTransaction &operator= (const WrongTransaction &);
00084
00085 static void _tao_any_destructor (void *);
00086
00087 static WrongTransaction *_downcast (CORBA::Exception *);
00088 static const WrongTransaction *_downcast (CORBA::Exception const *);
00089
00090 static CORBA::Exception *_alloc (void);
00091
00092 virtual CORBA::Exception *_tao_duplicate (void) const;
00093
00094 virtual void _raise (void) const;
00095
00096 virtual void _tao_encode (
00097 TAO_OutputCDR &
00098 ACE_ENV_ARG_DECL
00099 ) const;
00100
00101 virtual void _tao_decode (
00102 TAO_InputCDR &
00103 ACE_ENV_ARG_DECL
00104 );
00105
00106
00107
00108
00109 virtual CORBA::TypeCode_ptr _tao_type (void) const;
00110 };
00111
00112 #endif
00113
00114
00115
00116
00117 }
00118
00119
00120
00121
00122
00123 namespace TAO
00124 {
00125 }
00126
00127
00128
00129
00130 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::WrongTransaction &);
00131 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::WrongTransaction &);
00132
00133
00134
00135
00136 TAO_END_VERSIONED_NAMESPACE_DECL
00137
00138 #if defined(_MSC_VER)
00139 #pragma warning(pop)
00140 #endif
00141
00142 #if defined (__BORLANDC__)
00143 #pragma option pop
00144 #endif
00145
00146 #include "ace/post.h"
00147
00148 #endif
00149
00150