GME  13
MgaErr.c
Go to the documentation of this file.
00001 // MgaErr.c
00002 // Error table file automatically generated from Interfaces/Mga.idl
00003 // Genarated on Wed Nov 18 15:33:28 2009 
00004 //           by volgy 
00005 //           from E:\GMESRC\GME\Interfaces\Mga.idl
00006 //           to E:\GMESRC\GME\Mga\MgaErr.c
00007 //           using script E:\GMESRC\GME\Mga\scripts\createerrtab.py
00008 
00009 
00010 namespace {
00011 
00012 typedef enum mgaerrors
00013     {   E_MGA_NOT_IMPLEMENTED   = 0x87650000,
00014         E_MGA_NOT_SUPPORTED     = 0x87650001,
00015         E_MGA_MODULE_INCOMPATIBILITY    = 0x87650010,
00016         E_MGA_PARADIGM_NOTREG   = 0x87650011,
00017         E_MGA_PARADIGM_INVALID  = 0x87650012,
00018         E_MGA_COMPONENT_ERROR   = 0x87650013,
00019         E_MGA_DATA_INCONSISTENCY        = 0x87650021,
00020         E_MGA_META_INCOMPATIBILITY      = 0x87650022,
00021         E_MGA_PROJECT_OPEN      = 0x87650031,
00022         E_MGA_PROJECT_NOT_OPEN  = 0x87650032,
00023         E_MGA_READ_ONLY_ACCESS  = 0x87650033,
00024         E_MGA_NOT_IN_TERRITORY  = 0x87650034,
00025         E_MGA_NOT_IN_TRANSACTION        = 0x87650035,
00026         E_MGA_ALREADY_IN_TRANSACTION    = 0x87650036,
00027         E_MGA_MUST_ABORT        = 0x87650037,
00028         E_MGA_TARGET_DESTROYED  = 0x87650038,
00029         E_MGA_FOREIGN_PROJECT   = 0x87650041,
00030         E_MGA_FOREIGN_OBJECT    = 0x87650042,
00031         E_MGA_OBJECT_DELETED    = 0x87650051,
00032         E_MGA_OBJECT_ZOMBIE     = 0x87650052,
00033         E_MGA_ZOMBIE_NOPROJECT  = 0x87650053,
00034         E_MGA_ZOMBIE_CLOSED_PROJECT     = 0x87650054,
00035         E_MGA_INVALID_ARG       = 0x87650060,
00036         E_MGA_ARG_RANGE = 0x87650061,
00037         E_MGA_INPTR_NULL        = 0x87650062,
00038         E_MGA_OUTPTR_NONEMPTY   = 0x87650063,
00039         E_MGA_OUTPTR_NULL       = 0x87650064,
00040         E_MGA_NAME_NOT_FOUND    = 0x87650070,
00041         E_MGA_NAME_DUPLICATE    = 0x87650071,
00042         E_MGA_META_VIOLATION    = 0x87650072,
00043         E_MGA_NOT_CHANGEABLE    = 0x87650073,
00044         E_MGA_OP_REFUSED        = 0x87650074,
00045         E_MGA_LIBOBJECT = 0x87650075,
00046         E_META_INVALIDATTR      = 0x87650080,
00047         E_META_INVALIDASPECT    = 0x87650081,
00048         E_MGA_ACCESS_TYPE       = 0x87650082,
00049         E_MGA_BAD_ENUMVALUE     = 0x87650083,
00050         E_MGA_REFPORTS_USED     = 0x87650131,
00051         E_MGA_VIRTUAL_NODE      = 0x87650136,
00052         E_MGA_BAD_POSITIONVALUE = 0x87650137,
00053         E_MGA_ROOTFCO   = 0x87650138,
00054         E_MGA_NOT_ROOTOBJECT    = 0x87650138,
00055         E_MGA_BAD_COLLENGTH     = 0x87650140,
00056         E_MGA_INVALID_ROLE      = 0x87650142,
00057         E_MGA_BAD_ID    = 0x87650143,
00058         E_MGA_NOT_DERIVABLE     = 0x87650144,
00059         E_MGA_OBJECT_NOT_MEMBER = 0x87650145,
00060         E_MGA_NOT_CONNECTIBLE   = 0x87650146,
00061         E_MGA_NO_ROLE   = 0x87650147,
00062         E_MGA_CONNROLE_USED     = 0x87650148,
00063         E_MGA_NOT_DERIVED       = 0x87650149,
00064         E_MGA_NOT_INSTANCE      = 0x87650150,
00065         E_MGA_INSTANCE  = 0x87650151,
00066         E_MGA_REFERENCE_EXPECTED        = 0x87650152,
00067         E_MGA_FILTERFORMAT      = 0x87650153,
00068         E_MGA_GEN_OUT_OF_SPACE  = 0x87650154,
00069         E_MGA_INVALID_TARGET    = 0x87650155,
00070         E_MGA_LONG_DERIVCHAIN   = 0x87650156,
00071         E_MGA_LIB_DIFF  = 0x87650157,
00072         E_MGA_BAD_MASKVALUE     = 0x87650170,
00073         E_MGA_CONSTRAINT_VIOLATION      = 0x87657fff,
00074         E_MGA_ERRCODE_ERROR     = 0x87658000
00075     }   mgaerrors;
00076 
00077 const struct errtab MgaErrTab[]= {
00078 {E_MGA_NOT_IMPLEMENTED, L"This method is not yet implemented"},
00079 {E_MGA_NOT_SUPPORTED, L"This mode of operation is not supported"},
00080 {E_MGA_MODULE_INCOMPATIBILITY, L"MGA data structure conflict: error or incompatibility"},
00081 {E_MGA_PARADIGM_NOTREG, L"The paradigm is not registered"},
00082 {E_MGA_PARADIGM_INVALID, L"The paradigm is invalid"},
00083 {E_MGA_COMPONENT_ERROR, L"Some addons cannot be loaded/initialized"},
00084 {E_MGA_DATA_INCONSISTENCY, L"Inconsistent data in database metainfo violated"},
00085 {E_MGA_META_INCOMPATIBILITY, L"Meta incompatibility"},
00086 {E_MGA_PROJECT_OPEN, L"Project must be closed"},
00087 {E_MGA_PROJECT_NOT_OPEN, L"Project must be open"},
00088 {E_MGA_READ_ONLY_ACCESS, L"Database is in read-only mode"},
00089 {E_MGA_NOT_IN_TERRITORY, L"Object is unknown in this territory"},
00090 {E_MGA_NOT_IN_TRANSACTION, L"Operation must execute within transaction"},
00091 {E_MGA_ALREADY_IN_TRANSACTION, L"The project is already in transaction"},
00092 {E_MGA_MUST_ABORT, L"This transaction must be aborted"},
00093 {E_MGA_TARGET_DESTROYED, L"Territory/AddOn already destroyed"},
00094 {E_MGA_FOREIGN_PROJECT, L"This is not the callee object's project"},
00095 {E_MGA_FOREIGN_OBJECT, L"Object does not belong to this project"},
00096 {E_MGA_OBJECT_DELETED, L"The object is deleted partially inaccessible"},
00097 {E_MGA_OBJECT_ZOMBIE, L"The object is deleted and fully inaccessible"},
00098 {E_MGA_ZOMBIE_NOPROJECT, L"The project for this (sub)object has been destroyed"},
00099 {E_MGA_ZOMBIE_CLOSED_PROJECT, L"The project for this (sub)object has been closed"},
00100 {E_MGA_INVALID_ARG, L"invalid argument"},
00101 {E_MGA_ARG_RANGE, L"argument out of range"},
00102 {E_MGA_INPTR_NULL, L"NULL Input COM pointer"},
00103 {E_MGA_OUTPTR_NONEMPTY, L"Nonempty COM pointer supplied for output"},
00104 {E_MGA_OUTPTR_NULL, L"NULL output COM pointer address"},
00105 {E_MGA_NAME_NOT_FOUND, L"Search by name failed"},
00106 {E_MGA_NAME_DUPLICATE, L"The operation caused name uniqueness conflict"},
00107 {E_MGA_META_VIOLATION, L"The operation caused meta violation for object %o"},
00108 {E_MGA_NOT_CHANGEABLE, L"Object cannot be changed"},
00109 {E_MGA_OP_REFUSED, L"Operation refused due to the state of existing data"},
00110 {E_MGA_LIBOBJECT, L"Objects in libraries may not be modified"},
00111 {E_META_INVALIDATTR, L"Unknown attribute specified"},
00112 {E_META_INVALIDASPECT, L"Unknown aspect specified"},
00113 {E_MGA_ACCESS_TYPE, L"Access method conflicts with attribute type"},
00114 {E_MGA_BAD_ENUMVALUE, L"Invalid value for enum attr"},
00115 {E_MGA_REFPORTS_USED, L"Reference %o is used for connections"},
00116 {E_MGA_VIRTUAL_NODE, L"Node is not a physical, but inherited"},
00117 {E_MGA_BAD_POSITIONVALUE, L"Bad GME position read/written"},
00118 {E_MGA_ROOTFCO, L"Operation not allowed for root FCOs"},
00119 {E_MGA_NOT_ROOTOBJECT, L"Operation not allowed for non-root FCOs"},
00120 {E_MGA_BAD_COLLENGTH, L"Collection parameter counts must match"},
00121 {E_MGA_INVALID_ROLE, L"Bad/NULL metarole or metapart"},
00122 {E_MGA_BAD_ID, L"Object ID format error"},
00123 {E_MGA_NOT_DERIVABLE, L"Non-root object, or derived into itself"},
00124 {E_MGA_OBJECT_NOT_MEMBER, L"%o is not a member in set"},
00125 {E_MGA_NOT_CONNECTIBLE, L"%o is not in a connectible position"},
00126 {E_MGA_NO_ROLE, L"Role not specified"},
00127 {E_MGA_CONNROLE_USED, L"Connrole allowed number exceeded for %o"},
00128 {E_MGA_NOT_DERIVED, L"Object is not derived"},
00129 {E_MGA_NOT_INSTANCE, L"Object is not an instance"},
00130 {E_MGA_INSTANCE, L"Object is a type"},
00131 {E_MGA_REFERENCE_EXPECTED, L"Object %o specified is not a reference"},
00132 {E_MGA_FILTERFORMAT, L"MgaFilter property format error"},
00133 {E_MGA_GEN_OUT_OF_SPACE, L"Cannot generate a unique value"},
00134 {E_MGA_INVALID_TARGET, L"Invalid reference target"},
00135 {E_MGA_LONG_DERIVCHAIN, L"Derive chain too long"},
00136 {E_MGA_LIB_DIFF, L"Invalid changes in library"},
00137 {E_MGA_BAD_MASKVALUE, L"Invalid event mask value"},
00138 {E_MGA_CONSTRAINT_VIOLATION, L"Constraint violation"},
00139 {E_MGA_ERRCODE_ERROR, L"Errcode out of errcode range"},
00140         {0}};
00141 }