blob: 2ed178f4bcac8ef26eedc3f8ece2b018724b653b (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file ExceptionHolder_i.h
*
* $Id$
*
* @author Johnny Willemsen <jwillemsen@remedy.nl>
*/
//=============================================================================
#ifndef TAO_MESSAGING_EXCEPTIONHOLDER_I_H
#define TAO_MESSAGING_EXCEPTIONHOLDER_I_H
#include /**/ "ace/pre.h"
#include "tao/Messaging/messaging_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/orbconf.h"
#if !defined (TAO_HAS_DEPRECATED_EXCEPTION_HOLDER)
#include "tao/Messaging/ExceptionHolderA.h"
#include "tao/Messaging/ExceptionHolderC.h"
namespace Dynamic
{
class ExceptionList;
}
namespace Messaging
{
class ReplyHandler;
}
namespace TAO
{
struct Exception_Data;
class TAO_Messaging_Export ExceptionHolder
: public virtual ::OBV_Messaging::ExceptionHolder,
public virtual ::CORBA::DefaultValueRefCountBase
{
public:
ExceptionHolder (
::CORBA::Boolean is_system_exception,
::CORBA::Boolean byte_order,
const ::CORBA::OctetSeq &marshaled_exception,
::TAO::Exception_Data* data_,
::CORBA::ULong exceptions_count
);
virtual ~ExceptionHolder ();
virtual void raise_exception (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
virtual void raise_exception_with_list (
const ::Dynamic::ExceptionList & exc_list ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
private:
TAO::Exception_Data* data_;
CORBA::ULong count_;
};
}
#endif
#include /**/ "ace/post.h"
#endif /* TAO_MESSAGING_EXCEPTIONHOLDER_I_H */
|