Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / AnyTypeCode / SystemExceptionA.h
blobd66a104b5c8a99fa5153882bb18d6c128922f879
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file SystemExceptionA.h
7 * SystemException Any operator and typecode decls.
9 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
11 //=============================================================================
13 #ifndef TAO_SYSTEMEXCEPTIONA_H
14 #define TAO_SYSTEMEXCEPTIONA_H
16 #include /**/ "ace/pre.h"
17 #include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h"
18 #include "tao/AnyTypeCode/AnyTypeCode_methods.h"
19 #include "tao/SystemException.h"
21 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
23 namespace CORBA
25 class TypeCode;
26 typedef TypeCode *TypeCode_ptr;
28 class Any;
29 typedef Any *Any_ptr;
31 #define TAO_SYSTEM_EXCEPTION(name) \
32 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, \
33 const CORBA::name &); \
34 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, \
35 CORBA::name *); \
36 TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, \
37 const CORBA::name *&); \
38 extern TAO_AnyTypeCode_Export TypeCode_ptr const _tc_ ## name
40 TAO_SYSTEM_EXCEPTION(UNKNOWN); // the unknown exception
41 TAO_SYSTEM_EXCEPTION(BAD_PARAM); // an invalid parameter was passed
42 TAO_SYSTEM_EXCEPTION(NO_MEMORY); // memory allocation failure
43 TAO_SYSTEM_EXCEPTION(IMP_LIMIT); // violated implementation limit
44 TAO_SYSTEM_EXCEPTION(COMM_FAILURE); // communication failure
45 TAO_SYSTEM_EXCEPTION(INV_OBJREF); // invalid object reference
46 TAO_SYSTEM_EXCEPTION(OBJECT_NOT_EXIST); // no such object
47 TAO_SYSTEM_EXCEPTION(NO_PERMISSION); // no permission for operation
48 TAO_SYSTEM_EXCEPTION(INTERNAL); // ORB internal error
49 TAO_SYSTEM_EXCEPTION(MARSHAL); // error marshaling param/result
50 TAO_SYSTEM_EXCEPTION(INITIALIZE); // ORB initialization failure
51 TAO_SYSTEM_EXCEPTION(NO_IMPLEMENT); // implementation unavailable
52 TAO_SYSTEM_EXCEPTION(BAD_TYPECODE); // bad typecode
53 TAO_SYSTEM_EXCEPTION(BAD_OPERATION); // invalid operation
54 TAO_SYSTEM_EXCEPTION(NO_RESOURCES); // out of resources for request
55 TAO_SYSTEM_EXCEPTION(NO_RESPONSE); // response not yet available
56 TAO_SYSTEM_EXCEPTION(PERSIST_STORE); // persistent storage failure
57 TAO_SYSTEM_EXCEPTION(BAD_INV_ORDER); // routine invocations out of order
58 TAO_SYSTEM_EXCEPTION(TRANSIENT); // transient error, try again later
59 TAO_SYSTEM_EXCEPTION(FREE_MEM); // cannot free memory
60 TAO_SYSTEM_EXCEPTION(INV_IDENT); // invalid identifier syntax
61 TAO_SYSTEM_EXCEPTION(INV_FLAG); // invalid flag was specified
62 TAO_SYSTEM_EXCEPTION(INTF_REPOS); // interface repository unavailable
63 TAO_SYSTEM_EXCEPTION(BAD_CONTEXT); // error processing context object
64 TAO_SYSTEM_EXCEPTION(OBJ_ADAPTER); // object adapter failure
65 TAO_SYSTEM_EXCEPTION(DATA_CONVERSION); // data conversion error
66 TAO_SYSTEM_EXCEPTION(INV_POLICY); // invalid policies present
67 TAO_SYSTEM_EXCEPTION(REBIND); // rebind needed
68 TAO_SYSTEM_EXCEPTION(TIMEOUT); // operation timed out
69 TAO_SYSTEM_EXCEPTION(TRANSACTION_UNAVAILABLE); // no transaction
70 TAO_SYSTEM_EXCEPTION(TRANSACTION_MODE); // invalid transaction mode
71 TAO_SYSTEM_EXCEPTION(TRANSACTION_REQUIRED); // operation needs transaction
72 TAO_SYSTEM_EXCEPTION(TRANSACTION_ROLLEDBACK); // operation was a no-op
73 TAO_SYSTEM_EXCEPTION(INVALID_TRANSACTION); // invalid TP context passed
74 TAO_SYSTEM_EXCEPTION(CODESET_INCOMPATIBLE); // incompatible code set
75 TAO_SYSTEM_EXCEPTION(BAD_QOS); // bad quality of service
76 TAO_SYSTEM_EXCEPTION(INVALID_ACTIVITY);
77 TAO_SYSTEM_EXCEPTION(ACTIVITY_COMPLETED);
78 TAO_SYSTEM_EXCEPTION(ACTIVITY_REQUIRED);
79 TAO_SYSTEM_EXCEPTION(THREAD_CANCELLED);
81 #undef TAO_SYSTEM_EXCEPTION
83 } // End CORBA namespace
85 TAO_END_VERSIONED_NAMESPACE_DECL
87 #include /**/ "ace/post.h"
89 #endif /* TAO_SYSTEMEXCEPTIONA_H */