2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE CORBA::ULong
5 CORBA::SystemException::minor () const
11 CORBA::SystemException::minor (CORBA::ULong m)
16 ACE_INLINE CORBA::CompletionStatus
17 CORBA::SystemException::completed () const
19 return this->completed_;
23 CORBA::SystemException::completed (CORBA::CompletionStatus c)
28 ACE_INLINE CORBA::SystemException*
29 CORBA::SystemException::_downcast (CORBA::Exception* exception)
31 return dynamic_cast<CORBA::SystemException *> (exception);
34 ACE_INLINE const CORBA::SystemException*
35 CORBA::SystemException::_downcast (const CORBA::Exception *exception)
37 return dynamic_cast<const CORBA::SystemException *> (exception);
41 #define TAO_STANDARD_SYSTEM_EXCEPTION_LIST \
42 TAO_SYSTEM_EXCEPTION (UNKNOWN) \
43 TAO_SYSTEM_EXCEPTION (BAD_PARAM) \
44 TAO_SYSTEM_EXCEPTION (NO_MEMORY) \
45 TAO_SYSTEM_EXCEPTION (IMP_LIMIT) \
46 TAO_SYSTEM_EXCEPTION (COMM_FAILURE) \
47 TAO_SYSTEM_EXCEPTION (INV_OBJREF) \
48 TAO_SYSTEM_EXCEPTION (OBJECT_NOT_EXIST) \
49 TAO_SYSTEM_EXCEPTION (NO_PERMISSION) \
50 TAO_SYSTEM_EXCEPTION (INTERNAL) \
51 TAO_SYSTEM_EXCEPTION (MARSHAL) \
52 TAO_SYSTEM_EXCEPTION (INITIALIZE) \
53 TAO_SYSTEM_EXCEPTION (NO_IMPLEMENT) \
54 TAO_SYSTEM_EXCEPTION (BAD_TYPECODE) \
55 TAO_SYSTEM_EXCEPTION (BAD_OPERATION) \
56 TAO_SYSTEM_EXCEPTION (NO_RESOURCES) \
57 TAO_SYSTEM_EXCEPTION (NO_RESPONSE) \
58 TAO_SYSTEM_EXCEPTION (PERSIST_STORE) \
59 TAO_SYSTEM_EXCEPTION (BAD_INV_ORDER) \
60 TAO_SYSTEM_EXCEPTION (TRANSIENT) \
61 TAO_SYSTEM_EXCEPTION (FREE_MEM) \
62 TAO_SYSTEM_EXCEPTION (INV_IDENT) \
63 TAO_SYSTEM_EXCEPTION (INV_FLAG) \
64 TAO_SYSTEM_EXCEPTION (INTF_REPOS) \
65 TAO_SYSTEM_EXCEPTION (BAD_CONTEXT) \
66 TAO_SYSTEM_EXCEPTION (OBJ_ADAPTER) \
67 TAO_SYSTEM_EXCEPTION (DATA_CONVERSION) \
68 TAO_SYSTEM_EXCEPTION (INV_POLICY) \
69 TAO_SYSTEM_EXCEPTION (REBIND) \
70 TAO_SYSTEM_EXCEPTION (TIMEOUT) \
71 TAO_SYSTEM_EXCEPTION (TRANSACTION_UNAVAILABLE) \
72 TAO_SYSTEM_EXCEPTION (TRANSACTION_MODE) \
73 TAO_SYSTEM_EXCEPTION (TRANSACTION_REQUIRED) \
74 TAO_SYSTEM_EXCEPTION (TRANSACTION_ROLLEDBACK) \
75 TAO_SYSTEM_EXCEPTION (INVALID_TRANSACTION) \
76 TAO_SYSTEM_EXCEPTION (CODESET_INCOMPATIBLE) \
77 TAO_SYSTEM_EXCEPTION (BAD_QOS) \
78 TAO_SYSTEM_EXCEPTION (INVALID_ACTIVITY) \
79 TAO_SYSTEM_EXCEPTION (ACTIVITY_COMPLETED) \
80 TAO_SYSTEM_EXCEPTION (ACTIVITY_REQUIRED) \
81 TAO_SYSTEM_EXCEPTION (THREAD_CANCELLED)
83 #define TAO_SYSTEM_EXCEPTION(name) \
84 ACE_INLINE CORBA::name * \
85 CORBA::name ::_downcast (CORBA::Exception* exception) \
87 return dynamic_cast<CORBA::name *> (exception); \
90 TAO_STANDARD_SYSTEM_EXCEPTION_LIST
91 #undef TAO_SYSTEM_EXCEPTION
93 #define TAO_SYSTEM_EXCEPTION(name) \
94 ACE_INLINE CORBA::name const * \
95 CORBA::name ::_downcast (CORBA::Exception const * exception) \
97 return dynamic_cast<CORBA::name const *> (exception); \
100 TAO_STANDARD_SYSTEM_EXCEPTION_LIST
101 #undef TAO_SYSTEM_EXCEPTION
103 #define TAO_SYSTEM_EXCEPTION(name) \
105 CORBA::name ::_tao_any_destructor (void * x) \
107 delete static_cast<CORBA::name *> (x); \
110 TAO_STANDARD_SYSTEM_EXCEPTION_LIST
111 #undef TAO_SYSTEM_EXCEPTION
113 TAO_END_VERSIONED_NAMESPACE_DECL