~ubuntu-branches/ubuntu/natty/orbit2/natty

« back to all changes in this revision

Viewing changes to src/idl/CORBA/CORBA_StandardExceptions.idl

  • Committer: Bazaar Package Importer
  • Author(s): Chris Waters
  • Date: 2002-03-25 17:24:03 UTC
  • Revision ID: james.westby@ubuntu.com-20020325172403-8lexv63608acfqgt
Tags: upstream-2.3.107
ImportĀ upstreamĀ versionĀ 2.3.107

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// File: CORBA_StandardExceptions.idl
 
2
// CORBA 2.3, Chapter 3
 
3
    
 
4
    const unsigned long OMGVMCID = 0x4f4d0000;
 
5
 
 
6
#define ex_body {unsigned long minor; completion_status completed;}
 
7
 
 
8
    enum completion_status {COMPLETED_YES, 
 
9
                            COMPLETED_NO, 
 
10
                            COMPLETED_MAYBE};
 
11
    enum exception_type {   NO_EXCEPTION, 
 
12
                            USER_EXCEPTION, 
 
13
                            SYSTEM_EXCEPTION};
 
14
 
 
15
    exception UNKNOWN       ex_body;    // the unknown exception
 
16
    exception BAD_PARAM     ex_body;    // an invalid parameter was
 
17
                                        // passed
 
18
    exception NO_MEMORY     ex_body;    // dynamic memory allocation
 
19
                                        // failure  
 
20
    exception IMP_LIMIT     ex_body;    // violated implementation
 
21
                                        // limit
 
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 
 
25
                                        // attempted op.
 
26
    exception INTERNAL      ex_body;    // ORB internal error
 
27
    exception MARSHAL       ex_body;    // error marshaling
 
28
                                        // param/result
 
29
    exception INITIALIZE    ex_body;    // ORB initialization failure
 
30
    exception NO_IMPLEMENT  ex_body;    // operation implementation
 
31
                                        // unavailable
 
32
    exception BAD_TYPECODE  ex_body;    // bad typecode
 
33
    exception BAD_OPERATION ex_body;    // invalid operation
 
34
    exception NO_RESOURCES  ex_body;    // insufficient resources 
 
35
                                        // for req.
 
36
    exception NO_RESPONSE   ex_body;    // response to req. not yet
 
37
                                        // available
 
38
    exception PERSIST_STORE ex_body;    // persistent storage failure
 
39
    exception BAD_INV_ORDER ex_body;    // routine invocations 
 
40
                                        // out of order
 
41
    exception TRANSIENT     ex_body;    // transient failure - reissue
 
42
                                        // request
 
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
 
47
                                        // repository
 
48
    exception BAD_CONTEXT   ex_body;    // error processing context
 
49
                                        // object
 
50
    exception OBJ_ADAPTER   ex_body;    // failure detected by object
 
51
                                        // adapter
 
52
    exception DATA_CONVERSION  ex_body; // data conversion error
 
53
    exception OBJECT_NOT_EXIST ex_body; // non-existent object,
 
54
                                        // delete reference
 
55
    exception TRANSACTION_REQUIRED                      
 
56
                            ex_body;    // transaction required
 
57
    exception TRANSACTION_ROLLEDBACK    
 
58
                            ex_body;    // transaction rolled
 
59
                                        // back
 
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