OpenClovis Logo

clFaultErrorId.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2012 OpenClovis Solutions Inc. All Rights Reserved.
3  *
4  * This file is available under a commercial license from the
5  * copyright holder or the GNU General Public License Version 2.0.
6  *
7  * The source code for this program is not published or otherwise
8  * divested of its trade secrets, irrespective of what has been
9  * deposited with the U.S. Copyright office.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * For more information, see the file COPYING provided with this
17  * material.
18  */
19 /*******************************************************************************
20  * ModuleName : fault
21  * File : clFaultErrorId.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  *
27  * This file contains fault service related error codes
28  *
29  *
30  *****************************************************************************/
31 
43 #ifndef _CL_FAULT_ERROR_ID_H_
44 #define _CL_FAULT_ERROR_ID_H_
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
50 #include <clCommon.h>
51 #include <clCommonErrors.h>
52 
53 /******************************************************************************
54  * ERROR CODES
55  *****************************************************************************/
56 /* fault service related error codes */
57 
62 #define CL_FAULT_ERR_DUPLICATE 0x100
63 
67 #define CL_FAULT_ERR_FAULT_NOT_FOUND 0x101
68 
72 #define CL_FAULT_ERR_INVLD_VAL 0x102
73 
77 #define CL_FAULT_ERR_SEVERITY_EXCEED 0x103
78 
82 #define CL_FAULT_ERR_HISTORY_ADD_ERROR 0x104
83 
87 #define CL_FAULT_ERR_HISTORY_CREATE_ERROR 0x105
88 
93 #define CL_FAULT_ERR_HISTORY_MUTEX_CREATE_ERROR 0x106
94 
98 #define CL_FAULT_ERR_HISTORY_QUERY_ERROR 0x107
99 
103 #define CL_FAULT_ERR_CREATE_FAILED 0x108
104 
108 #define CL_FAULT_ERR_ADD_FAILED 0x109
109 
113 #define CL_FAULT_ERR_FAULT_HANDLER_NOT_FOUND 0x10a
114 
118 #define CL_FAULT_ERR_REPAIR_SEQ_TBL_NULL 0x10b
119 
123 #define CL_FAULT_ERR_INTERNAL 0x10c
124 
128 #define CL_FAULT_ERR_INVALID_CATEGORY 0x10d
129 
133 #define CL_FAULT_ERR_INVALID_SEVERITY 0x10e
134 
138 #define CL_FAULT_ERR_MOID_NULL 0x10f
139 
143 #define CL_FAULT_ERR_CLIENT_INIT_FAILED 0x110
144 
148 #define CL_FAULT_ERR_CLIENT_FINALIZE_FAILED 0x111
149 
153 #define CL_FAULT_ERR_COMPNAME_NULL 0x112
154 
158 #define CL_FAULT_ERR_VERSION_UNSUPPORTED 0x113
159 
160 /******************************************************************************
161  * ERROR/RETRUN CODE HANDLING MACROS
162  *****************************************************************************/
168 #define CL_FAULT_RC(ERROR_CODE) CL_RC(CL_CID_FAULTS, (ERROR_CODE))
169 
170 #ifdef __cplusplus
171 }
172 #endif
173 
174 #endif /* _CL_FAULT_ERROR_ID_H_ */
175 
176 

Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen