Go to the source code of this file.
Classes | |
struct | errtab |
Defines | |
#define | MGAERRCODEBASE 0x87650000 |
#define | MGAERRCODESPAN 0x1000 |
Functions | |
void | throw_com_error (HRESULT hr, LPCOLESTR desc) |
void | SetErrorInfo (LPCOLESTR desc) |
LPCOLESTR | MgaGetErrorInfo (HRESULT hr) |
bool | MgaSetErrorInfo (HRESULT hr) |
void | SetErrorInfo (HRESULT hr, LPOLESTR desc2) |
bool | GetErrorInfo (BSTR *desc) |
void | GetErrorInfo (HRESULT hr, BSTR *p) |
Variables | |
LPOLESTR | common_descs [] |
LPOLESTR | core_descs [] |
LPOLESTR | meta_descs [] |
LPOLESTR | parser_descs [] |
#define MGAERRCODEBASE 0x87650000 |
Definition at line 156 of file GME/Common/CommonError.cpp.
#define MGAERRCODESPAN 0x1000 |
Definition at line 157 of file GME/Common/CommonError.cpp.
void GetErrorInfo | ( | HRESULT | hr, | |
BSTR * | p | |||
) |
Definition at line 233 of file GME/Common/CommonError.cpp.
bool GetErrorInfo | ( | BSTR * | desc | ) |
Definition at line 213 of file GME/Common/CommonError.cpp.
LPCOLESTR MgaGetErrorInfo | ( | HRESULT | hr | ) |
Definition at line 159 of file GME/Common/CommonError.cpp.
bool MgaSetErrorInfo | ( | HRESULT | hr | ) |
Definition at line 170 of file GME/Common/CommonError.cpp.
void SetErrorInfo | ( | HRESULT | hr, | |
LPOLESTR | desc2 | |||
) |
Definition at line 180 of file GME/Common/CommonError.cpp.
void SetErrorInfo | ( | LPCOLESTR | desc | ) |
Definition at line 127 of file GME/Common/CommonError.cpp.
void throw_com_error | ( | HRESULT | hr, | |
LPCOLESTR | desc | |||
) |
Definition at line 104 of file GME/Common/CommonError.cpp.
LPOLESTR common_descs[] |
{ OLESTR("Improper use of object"), OLESTR("Unknown exception"), OLESTR("Data conversion has failed"), OLESTR("Requested != count in GetAll"), OLESTR("[out] parameter is not empty"), OLESTR("Passed interface is not from the same project"), OLESTR("Object was not found"), OLESTR("File could not be opened"), OLESTR("VERIFY has failed"), OLESTR("COMTHROW test exception throwed"), }
Definition at line 49 of file GME/Common/CommonError.cpp.
LPOLESTR core_descs[] |
{ OLESTR("Object is locked by another Core component"), OLESTR("Lock value in Storage is invalid"), OLESTR("Attribute is not found"), OLESTR("Meta object is not found"), OLESTR("Meta project is invalid"), OLESTR("Invalid response from Repository"), OLESTR("CoreProject - CoreMetaProject mismatch"), OLESTR("Object is deleted or unloaded (zombie)"), OLESTR("Invalid ValueType"), OLESTR("No active transaction"), OLESTR("Object already exists"), OLESTR("No Territory has been selected"), OLESTR("Object is not locked"), OLESTR("Invalid data in Repository"), OLESTR("Cannot delete Object, has nonempty collection"), OLESTR("Cannot resolve the connection string"), OLESTR("Invalid binary file storage"), OLESTR("Project has no name"), }
Definition at line 63 of file GME/Common/CommonError.cpp.
LPOLESTR meta_descs[] |
{ OLESTR("Invalid ATTVAL type"), OLESTR("MetaProject is not open"), OLESTR("Invalid Path"), }
Definition at line 85 of file GME/Common/CommonError.cpp.
LPOLESTR parser_descs[] |
{ OLESTR("Invalid DTD file"), OLESTR("Invalid GUID"), OLESTR("Invalid XML filename"), OLESTR("Invalid MGA object"), OLESTR("Invalid META object"), OLESTR("Too many passes while parsing the XML file"), }
Definition at line 93 of file GME/Common/CommonError.cpp.