1
// File: CORBA_StandardExceptions.idl
2
// CORBA 2.3, Chapter 3
4
const unsigned long OMGVMCID = 0x4f4d0000;
6
#define ex_body {unsigned long minor; completion_status completed;}
8
enum completion_status {COMPLETED_YES,
11
enum exception_type { NO_EXCEPTION,
15
exception UNKNOWN ex_body; // the unknown exception
16
exception BAD_PARAM ex_body; // an invalid parameter was
18
exception NO_MEMORY ex_body; // dynamic memory allocation
20
exception IMP_LIMIT ex_body; // violated implementation
22
exception COMM_FAILURE ex_body; // communication failure
23
exception INV_OBJREF ex_body; // invalid object reference
24
exception NO_PERMISSION ex_body; // no permission for
26
exception INTERNAL ex_body; // ORB internal error
27
exception MARSHAL ex_body; // error marshaling
29
exception INITIALIZE ex_body; // ORB initialization failure
30
exception NO_IMPLEMENT ex_body; // operation implementation
32
exception BAD_TYPECODE ex_body; // bad typecode
33
exception BAD_OPERATION ex_body; // invalid operation
34
exception NO_RESOURCES ex_body; // insufficient resources
36
exception NO_RESPONSE ex_body; // response to req. not yet
38
exception PERSIST_STORE ex_body; // persistent storage failure
39
exception BAD_INV_ORDER ex_body; // routine invocations
41
exception TRANSIENT ex_body; // transient failure - reissue
43
exception FREE_MEM ex_body; // cannot free memory
44
exception INV_IDENT ex_body; // invalid identifier syntax
45
exception INV_FLAG ex_body; // invalid flag was specified
46
exception INTF_REPOS ex_body; // error accessing interface
48
exception BAD_CONTEXT ex_body; // error processing context
50
exception OBJ_ADAPTER ex_body; // failure detected by object
52
exception DATA_CONVERSION ex_body; // data conversion error
53
exception OBJECT_NOT_EXIST ex_body; // non-existent object,
55
exception TRANSACTION_REQUIRED
56
ex_body; // transaction required
57
exception TRANSACTION_ROLLEDBACK
58
ex_body; // transaction rolled
60
exception INVALID_TRANSACTION
61
ex_body; // invalid transaction
62
exception INV_POLICY ex_body; // invalid policy
63
exception CODESET_INCOMPATIBLE
64
ex_body; // incompatible code set