summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionC.h
blob: 3bc652e8a0695a6849fe143b44590187e6afdff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* -*- C++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO
//
// = FILENAME
//    WrongTransactionC.h
//
// = AUTHOR
//
// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO and the TAO IDL Compiler have been developed by the Center for
// Distributed Object Computing at Washington University, St. Louis.
//
// Information about TAO is available at:
//                 http://www.cs.wustl.edu/~schmidt/TAO.html

#ifndef TAO_IDL_WRONG_TRANSACTIONC_H
#define TAO_IDL_WRONG_TRANSACTIONC_H
#include "ace/pre.h"

#include "tao/orbconf.h"

#if !defined (TAO_HAS_MINIMUM_CORBA)

#include "tao/corbafwd.h"
#include "tao/Exception.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */


#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#endif /* _MSC_VER */

class TAO_Export CORBA_WrongTransaction : public CORBA::UserException
{
// = TITLE
//   Exception class generated by the TAO IDL compiler.
//
// = DESCRIPTION
//   This exception is thrown if a CORBA Request is implicitly
//   associated with a transaction and is found to have an
//   error in its parameters when checked at runtime (invocation).
public:

  CORBA_WrongTransaction (void); // default ctor
  CORBA_WrongTransaction (const CORBA_WrongTransaction &); // copy ctor
  ~CORBA_WrongTransaction (void); // dtor
  CORBA_WrongTransaction &operator= (const CORBA_WrongTransaction &);


  virtual void _raise (void);

  virtual void _tao_encode (TAO_OutputCDR &cdr,
                            CORBA::Environment &) const;
  virtual void _tao_decode (TAO_InputCDR &cdr,
                            CORBA::Environment &);

  static CORBA_WrongTransaction *_narrow (CORBA::Exception *);


  // = TAO extension
  static CORBA::Exception *_alloc (void);

}; // exception CORBA::WrongTransaction

TAO_Export CORBA::Boolean
operator<< (TAO_OutputCDR &, const CORBA_WrongTransaction &);
TAO_Export CORBA::Boolean
operator>> (TAO_InputCDR &, CORBA_WrongTransaction &);

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
#endif /* _MSC_VER */

#endif /* TAO_HAS_MINIMUM_CORBA */

#include "ace/post.h"
#endif /* ifndef TAO_IDL_WRONG_TRANSACTIONC_H */