00001 #ifndef _IT_BUS_ERROR_CODES_H_ 00002 #define _IT_BUS_ERROR_CODES_H_ 00003 00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved. 00005 // 00006 00007 namespace IT_Bus 00008 { 00009 // HTTP error codes 00010 const unsigned long IT_ErrCode_HTTP_Start = 0xC0DE0020; 00011 00012 const unsigned long IT_HTTP_E_COMM_ERROR = IT_ErrCode_HTTP_Start + 1; 00013 const unsigned long IT_HTTP_E_ACCESS_DENIED = IT_ErrCode_HTTP_Start + 2; 00014 const unsigned long IT_HTTP_E_UNSUPPORTED = IT_ErrCode_HTTP_Start + 3; 00015 const unsigned long IT_HTTP_E_BAD_CONFIG = IT_ErrCode_HTTP_Start + 4; 00016 const unsigned long IT_HTTP_E_BAD_REQUEST = IT_ErrCode_HTTP_Start + 5; 00017 const unsigned long IT_HTTP_E_BAD_PARAMETER = IT_ErrCode_HTTP_Start + 6; 00018 const unsigned long IT_HTTP_E_NOT_FOUND = IT_ErrCode_HTTP_Start + 7; 00019 const unsigned long IT_HTTP_E_SHUTTING_DOWN = IT_ErrCode_HTTP_Start + 8; 00020 00021 const unsigned long IT_Bus_E_FAULT = IT_ErrCode_HTTP_Start + 9; 00022 00023 // Deployer Service error codes 00024 const unsigned long IT_ErrCode_Deployer_Start = 0xC0DE0040; 00025 00026 const unsigned long IT_DEPLOYER_SERVICE_ALREADY_DEPLOYED = IT_ErrCode_Deployer_Start + 1; 00027 00028 // Management related error codes 00029 const unsigned long IT_ErrCode_Management_Start = 0xC0DE0060; 00030 00031 // A request was made for an Object Name which has not been registered 00032 const unsigned long IT_MANAGEMENT_E_OBJECT_NAME = IT_ErrCode_Management_Start + 1; 00033 00034 // A request was made for an attribute which does not exist on this Managed Component 00035 const unsigned long IT_MANAGEMENT_E_ATTRIBUTE_NAME = IT_ErrCode_Management_Start + 2; 00036 00037 // A request was made for an operation which does not exist on this Managed Component 00038 const unsigned long IT_MANAGEMENT_E_OPERATION_NAME = IT_ErrCode_Management_Start + 3; 00039 00040 // The requested operation has the wrong number of parameters or the name 00041 // of the parameter does not match the expected name 00042 const unsigned long IT_MANAGEMENT_E_BAD_PARAM = IT_ErrCode_Management_Start + 4; 00043 } 00044 00045 #endif