ITK Function Reference

(V10000.1.0.60_20160308.00)
aie_errors.h
Go to the documentation of this file.
1 /*==================================================================================================
2 
3  Copyright (c) 2000 Unigraphics Solutions, Inc.
4  Unpublished - All rights reserved
5 
6 ====================================================================================================
7 File description:
8 
9  Filename: aie_errors.h
10  Module : aie
11 
12  Defines error codes used with Application Integration Environment
13 
14 ====================================================================================================
15  Date Name Description of Change
16 21-Sep-2000 scottb files for new project name, "aie"
17 03-Oct-2000 bakerm Added AIE Registry
18 12-Oct-2000 scottb fix carriage return problem
19 30-Oct-2000 scobel Add AIE error codes
20 31-Oct-2000 scobel Add comments
21 16-Nov-2000 kimch Update export functions and new import functions
22 16-Nov-2000 scottb add some codes for xfiles
23 28-Nov-2000 Gopal Added error code range for application import
24 28-Nov-2000 Satish Added error code range for application export
25 30-Nov-2000 scobel Clean-up tabs, CRs
26 07-Dec-2000 kimch Add errors
27 15-Dec-2000 x_satish Modification to add Export Code specific error codes
28 27-Dec-2000 x_gopala Added error codes for application import (generic)
29 12-Jan-2001 scobel Transaction log, misc. clean-up
30 19-Jan-2001 kimch Add import errors
31 12-Feb-2001 scobel Augment transaction log
32 22-Feb-2001 kimch Add x-file error
33 07-Mar-2001 scottb add user overridden export message
34 30-Mar-2001 scottb add message for orphaned files in import operation
35 04-Apr-2001 kimch Add same name in diff. dataset error
36 09-Apr-2001 scobel File clean-up; Warning to keep in sync w/java file
37 16-Apr-2001 scottb remove hard tabs
38 14-May-2001 scottb add codes and messages for licensing
39 17-May-2001 kimch Add cancelled op.
40 22-May-2001 kimch Add no file to import
41 28-Jun-2001 scottb add "not implemented" message
42 22-Jul-2001 scottb add new code for missing bom line
43 25-Jul-2001 scottb new error codes for integration
44 29-Jul-2001 scottb add "object checked out" message
45 02-Aug-2001 scobel Add error checking when creating connection
46 03-Aug-2001 scobel Changes to create persistent connection
47 07-Aug-2001 scottb add some IM errors
48 15-Aug-2001 scottb add more export error messages
49 18-Aug-2001 scottb add unable to find file to open message
50 28-Aug-2001 scottb add error loading connection
51 02-Sep-2001 scottb add message for failure to delete file before export
52 04-Sep-2001 scobel Add some new error codes for import
53 06-Sep-2001 scottb add file missing from dataset message
54 07-Sep-2001 scobel New errors for AIE_im_cancel_checkout
55 08-Sep-2001 scottb add error saving conn file
56 09-Sep-2001 scottb add refresh no xml error
57 10-Sep-2001 scobel Add deletion of directory when delete connection
58 10-Sep-2001 scottb add logging errors
59 17-Sep-2001 scobel Added new import messages
60 18-Sep-2001 scobel Added another error code
61 18-Sep-2001 kimch Add BVR Update Error
62 21-Sep-2001 kimch Add error
63 25-Sep-2001 scobel Add an import error code
64 09-Oct-2001 scottb add export of unimported file message
65 10-Oct-2001 scottb add unimported file messages
66 16-Oct-2001 scobel Misc. minor import clean-up
67 26-Oct-2001 scobel Added AIE_IM_IMPORT_CANT_CHANGE_ITEM
68 05-Nov-2001 scottb merge from aie_se
69 13-Nov-2001 scobel Add messages for logging clean connection
70 28-Aug-2001 luf Changes for fcad
71 07-Jan-2002 luf Submit
72 25-Feb-2002 scobel Added message for unit of measure
73 28-Feb-2002 scobel Merge up from aim_v7.0
74 28-Mar-2002 scobel New error code for import
75 28-Mar-2002 scobel Merge from aim_v7.0
76 19-Jun-2002 scobel Added a couple of codes for Remote Manager import
77 26-Jun-2002 scobel Added AIE_incomplete_xml_tcinfo and AIE_incomplete_xml_importinfo
78 02-Jul-2002 kimch Add AIE_FILE_IN_USE
79 19-Jul-2002 Murali Chamarthy Added AIE_EXPORT_FILE_ERROR and AIE_found_no_datasets
80 22-Jul-2002 Murali Chamarthy merging from aie_v8.1
81 31-Jul-2002 scobel Added AIE_OPERATION_PENDING
82 16-Aug-2002 Murali Chamarthy Added AIE_start_resend and AIE_finish_resend
83 22-Aug-2002 scobel Added messages for cancel checkouts
84 08-Sep-2002 Murali Chamarthy Add new error strings for BOM Imp/Exp
85 12-Sep-2002 scobel Added new messages for JT file import
86 26-Jul-2002 Aaron Ruckman libtc.dll split work.
87 28-Aug-2002 Aaron Ruckman splitiman.dll project
88 03-Sep-2002 Aaron Ruckman merge
89 25-Sep-2002 Aaron Ruckman merge
90 06-Oct-2002 Murali Chamarthy Add new error strings for deleting unused files after refresh
91 31-Oct-2002 Nigel Morse Split DLL and rebase to Oracle9 Nx20 VC7
92 22-Nov-2002 Tim Baverstock Normalise inclusion
93 06-May-2003 scobel Added new messages for import as supplier user
94 14-May-2003 scobel Added error code AIE_IM_IMPORT_STALE_XML_FILE
95 22-May-2003 scobel Merge from P9.0.0.0
96 10-Sep-2003 scobel Use correct message when overwriting existing dataset upon import
97 31-Oct-2003 larson adding messages for Batch Import/Export
98 31-Oct-2003 scobel PR 4853151 - implement calling Checkmate
99 12-Mar-2004 gezou support Fiat Enh project --- executing pre import/post export script
100 17-Mar-2004 gezou add more error message to support Fiat Enh project
101 24-Mar-2004 larson merged from larson_aie_p9.0.0.1
102 27-May-2004 gezou fix PR4976652, Fiat new request, run preImport script before File(s) need import dialog
103 01-Jul-2004 gezou fix 4960309:New added/configured components which are checked-out should refresh as Write privilege
104 03-Sep-2004 scottb add invalid tag error
105 17-Nov-2004 aputhenp Added new error message for license module being unintialized
106 23-Feb-2005 gezou fix PR5096021: support property for LOV
107 21-Mar-2005 aputhenp Fix for PR1387947 - error message will be presented if the connection dir and filespec dir are not the same.
108 13-Apr-2005 gezou add new error code AIE_cant_get_ds_family_name
109 03-Aug-2005 aputhenp Added a new error code for invalid arguments
110 24-Aug-2005 aputhenp Added error codes for template related issues
111 29-Aug-2005 narayanr Added AIE_found_no_tmpl_datasets.
112 27-Sep-2005 aputhenp Merge AIE velocity changes to V9.1.3
113 10-Feb-2006 aputhenp Added AIE_no_ds_family_name_for_ds
114 10-Feb-2006 aputhenp Merge to cvg aie velocity - Fix PR5395032
115 16-Feb-2006 Stan Sharpe Add new error codes
116 $HISTORY$
117 ==================================================================================================*/
118 
119 /**************************************************************************************************
120 IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT!
121 
122  IF YOU MAKE CHANGES TO THIS FILE, THEN BE SURE TO MAKE CORRESPONDING CHANGES TO aie_errors.uih!!!
123 
124  ALSO, BE SURE TO KEEP DUPLICATE CONSTANTS USED IN PORTAL CLIENT JAVA CODE, DEFINED IN
125  \java\com\ugsolutions\iman\kernel\IMANComponentConnection.java, IN SYNC WITH THESE HERE!!!
126 
127  ALSO, MAKE SURE THE ERROR CODES DO NOT GO BEFORE 88000 NOR BEYOND 88999!!!
128 
129  Error codes 88000-88499 are reserved for use by the common so-called "Connection Manager" functions
130  Error codes 88500-88999 are reserved for use by the generic application-specific functions
131 
132 IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT!
133 ***************************************************************************************************/
134 
135 #ifndef AIE_ERRORS_H
136 #define AIE_ERRORS_H
137 
138 #include <common/emh_const.h>
139 
140 #define AIE_CM_ERROR_BASE EMH_AIE_error_base /* 88000 */
141 #define AIE_APP_GENERIC_ERROR_BASE EMH_AIE_error_base + 500 /* 88500 */
142 #define AIE_IMPORT_ERROR_BASE EMH_AIE_error_base + 750 /* 88750 */
143 #define AIE_TEMPLATE_ERROR_BASE EMH_AIE_error_base + 900 /* 88900 */
144 
145 /*****************************************************************************\
146 
147  Add AIE (CM) error codes here
148 
149 \*****************************************************************************/
150 
151 /* Miscellaneous errors */
152 #define AIE_SUCCESS (0)
153 #define AIE_encap_list_not_empty (AIE_CM_ERROR_BASE + 0)
154 #define AIE_tool_not_found (AIE_CM_ERROR_BASE + 1)
155 #define AIE_cannot_open_dataset (AIE_CM_ERROR_BASE + 2)
156 #define AIE_NULL_reference (AIE_CM_ERROR_BASE + 3)
157 #define AIE_connection_not_found (AIE_CM_ERROR_BASE + 4)
158 #define AIE_connection_in_operation (AIE_CM_ERROR_BASE + 5)
159 #define AIE_conn_file_does_not_exist (AIE_CM_ERROR_BASE + 6)
160 #define AIE_conn_file_not_found_by_name (AIE_CM_ERROR_BASE + 7)
161 #define AIE_conn_file_not_found_by_tag (AIE_CM_ERROR_BASE + 8)
162 #define AIE_xdata_file_not_found_by_name (AIE_CM_ERROR_BASE + 9)
163 #define AIE_ERROR_WRITING_XACTION_LOG (AIE_CM_ERROR_BASE + 10)
164 #define AIE_ERROR_WRITING_XFILES (AIE_CM_ERROR_BASE + 11)
165 #define AIE_object_checked_out (AIE_CM_ERROR_BASE + 12)
166 #define AIE_conn_name_not_unique (AIE_CM_ERROR_BASE + 13)
167 #define AIE_root_dir_nonexistent (AIE_CM_ERROR_BASE + 14)
168 #define AIE_cannot_create_export_dir (AIE_CM_ERROR_BASE + 15)
169 #define AIE_cannot_load_connection (AIE_CM_ERROR_BASE + 16)
170 #define AIE_action_confirmation (AIE_CM_ERROR_BASE + 17)
171 #define AIE_action_read_only (AIE_CM_ERROR_BASE + 18)
172 #define AIE_action_retry (AIE_CM_ERROR_BASE + 19)
173 #define AIE_UNRECOGNIZED_DATASETTYPE (AIE_CM_ERROR_BASE + 20)
174 #define AIE_IM_FILE_NOT_IN_CONN_DIR (AIE_CM_ERROR_BASE + 21)
175 #define AIE_IM_FILE_NOT_CHECKED_OUT (AIE_CM_ERROR_BASE + 22)
176 #define AIE_IM_INCONSISTENT_CHECKOUT (AIE_CM_ERROR_BASE + 23)
177 #define AIE_IM_CANNOT_CANCEL_CHECKOUT (AIE_CM_ERROR_BASE + 24)
178 #define AIE_IM_NO_XML_FILE_FOUND (AIE_CM_ERROR_BASE + 25)
179 #define AIE_IM_CANNOT_DELETE_EXPORT_DIR (AIE_CM_ERROR_BASE + 26)
180 #define AIE_IM_CANNOT_GET_RES_INFO (AIE_CM_ERROR_BASE + 27)
181 #define AIE_IM_ERROR_CREATING_LOG_FILE (AIE_CM_ERROR_BASE + 28)
182 #define AIE_IM_NONEXISTENT_DIRECTORY (AIE_CM_ERROR_BASE + 29)
183 #define AIE_error_creating_directory (AIE_CM_ERROR_BASE + 30)
184 #define AIE_ok_message (AIE_CM_ERROR_BASE + 31)
185 #define AIE_incomplete_xml_tcinfo (AIE_CM_ERROR_BASE + 32)
186 #define AIE_incomplete_xml_importinfo (AIE_CM_ERROR_BASE + 33)
187 #define AIE_OPERATION_PENDING (AIE_CM_ERROR_BASE + 34)
188 #define AIE_found_no_tmpl_datasets (AIE_CM_ERROR_BASE + 35)
189 #define AIE_UGII_ROOT_DIR_not_defined (AIE_CM_ERROR_BASE + 36)
190 #define AIE_TC_BIN_not_defined (AIE_CM_ERROR_BASE + 37)
191 #define AIE_string_sanitizing_failure (AIE_CM_ERROR_BASE + 38)
192 #define AIE_NX_DTDPATH_exceeds_max_length (AIE_CM_ERROR_BASE + 39)
193 #define AIE_internal_error (AIE_CM_ERROR_BASE + 50)
194 #define AIE_no_such_export_operation (AIE_CM_ERROR_BASE + 51)
195 #define AIE_no_such_import_operation (AIE_CM_ERROR_BASE + 52)
196 #define AIE_no_such_root_dataset (AIE_CM_ERROR_BASE + 53)
197 #define AIE_no_such_bom_line (AIE_CM_ERROR_BASE + 54)
198 #define AIE_file_not_in_dataset (AIE_CM_ERROR_BASE + 55)
199 #define AIE_dataset_not_accessible (AIE_CM_ERROR_BASE + 56)
200 #define AIE_error_saving_conn_file (AIE_CM_ERROR_BASE + 57)
201 #define AIE_error_on_refresh (AIE_CM_ERROR_BASE + 58)
202 #define AIE_not_implemented (AIE_CM_ERROR_BASE + 60)
203 #define AIE_error_determining_files (AIE_CM_ERROR_BASE + 61)
204 #define AIE_cannot_get_reference (AIE_CM_ERROR_BASE + 62)
205 #define AIE_error_checking_out (AIE_CM_ERROR_BASE + 63)
206 #define AIE_error_exporting_assoc (AIE_CM_ERROR_BASE + 64)
207 #define AIE_error_saving_connection (AIE_CM_ERROR_BASE + 65)
208 #define AIE_export_needs_confirmation (AIE_CM_ERROR_BASE + 66)
209 #define AIE_export_name_conflict (AIE_CM_ERROR_BASE + 67)
210 #define AIE_export_no_file_to_open (AIE_CM_ERROR_BASE + 68)
211 #define AIE_export_error_deleting_file (AIE_CM_ERROR_BASE + 69)
212 #define AIE_xml_element_not_found (AIE_CM_ERROR_BASE + 70)
213 #define AIE_xml_bad_format (AIE_CM_ERROR_BASE + 71)
214 #define AIE_xml_error_creating (AIE_CM_ERROR_BASE + 72)
215 #define AIE_xml_error_reading (AIE_CM_ERROR_BASE + 73)
216 #define AIE_refresh_no_xml (AIE_CM_ERROR_BASE + 74)
217 #define AIE_xml_error_reading2 (AIE_CM_ERROR_BASE + 75)
218 #define AIE_delete_connection_msg (AIE_CM_ERROR_BASE + 79)
219 #define AIE_create_connection_msg (AIE_CM_ERROR_BASE + 80)
220 #define AIE_file_exported (AIE_CM_ERROR_BASE + 81)
221 #define AIE_file_exported_and_checkedout (AIE_CM_ERROR_BASE + 82)
222 #define AIE_errors_during_operation (AIE_CM_ERROR_BASE + 83)
223 #define AIE_end_errors_during_operation (AIE_CM_ERROR_BASE + 84)
224 #define AIE_cancel_checkout_msg (AIE_CM_ERROR_BASE + 85)
225 #define AIE_user_exit_invalid_ds_name (AIE_CM_ERROR_BASE + 86)
226 #define AIE_found_no_datasets (AIE_CM_ERROR_BASE + 87)
227 #define AIE_CANCEL_CHECKOUT_W_INFO_MSG (AIE_CM_ERROR_BASE + 88)
228 #define AIE_CANCEL_CHECKOUT_ERROR (AIE_CM_ERROR_BASE + 89)
229 #define AIE_error_writing_components_to_xml (AIE_CM_ERROR_BASE + 90)
230 #define AIE_dataset_not_found_in_filelist (AIE_CM_ERROR_BASE + 91)
231 #define AIE_item_not_found_in_bvr (AIE_CM_ERROR_BASE + 92)
232 #define AIE_cancelled_operation (AIE_CM_ERROR_BASE + 99)
233 /* Miscellaneous errors index from 150 to 200 */
234 #define AIE_delete_file_missing (AIE_CM_ERROR_BASE + 150)
235 #define AIE_delete_needs_confirmation (AIE_CM_ERROR_BASE + 151)
236 #define AIE_error_deleting_conn_object (AIE_CM_ERROR_BASE + 152)
237 #define AIE_deleted_conn_object (AIE_CM_ERROR_BASE + 153)
238 
239 #define AIE_INVALID_VALUE (AIE_CM_ERROR_BASE + 154)
240 
241 /* Export errors */
242 #define AIE_EXPORT_SKIPPED (AIE_CM_ERROR_BASE + 100)
243 #define AIE_EXPORT_CLIENT_ERROR (AIE_CM_ERROR_BASE + 101)
244 #define AIE_EXPORT_SERVER_ERROR (AIE_CM_ERROR_BASE + 102)
245 #define AIE_EXPORT_OK (AIE_CM_ERROR_BASE + 103)
246 #define AIE_START_EXPORT (AIE_CM_ERROR_BASE + 104)
247 #define AIE_FINISH_EXPORT (AIE_CM_ERROR_BASE + 105)
248 #define AIE_EXPORT_FILE_ERROR (AIE_CM_ERROR_BASE + 106)
249 #define AIE_EXPORT_ERROR_NO_USER_NAME (AIE_CM_ERROR_BASE + 107)
250 #define AIE_EXPORT_ERROR_NO_USER_PASSWORD (AIE_CM_ERROR_BASE + 108)
251 #define AIE_EXPORT__ERROR_NO_ITEM_REVISIONS (AIE_CM_ERROR_BASE + 109)
252 #define AIE_EXPORT_USER_OVERRIDDEN (AIE_CM_ERROR_BASE + 110)
253 #define AIE_EXPORT_SAME_FILE_IN_DIFF_DATASETS (AIE_CM_ERROR_BASE + 111)
254 
255 /* Executing post export script errors */
256 #define AIE_EXPORT_POST_EXPORT_SCRIPT (AIE_CM_ERROR_BASE + 112)
257 /* xxxx2 error/warning message same as xxxx, but it appends the detail
258  infomation like script name, XFile name which shows on the log file */
259 #define AIE_SCRIPT_NOT_FOUND (AIE_CM_ERROR_BASE + 113)
260 #define AIE_SCRIPT_NOT_FOUND2 (AIE_CM_ERROR_BASE + 114)
261 #define AIE_XFILE_NOT_FOUND_SKIP_SCRIPT (AIE_CM_ERROR_BASE + 115)
262 #define AIE_error_checking_out_elsewhere (AIE_CM_ERROR_BASE + 116)
263 
264 #define AIE_start_refresh (AIE_CM_ERROR_BASE + 120)
265 #define AIE_finish_refresh (AIE_CM_ERROR_BASE + 121)
266 #define AIE_start_retry (AIE_CM_ERROR_BASE + 122)
267 #define AIE_finish_retry (AIE_CM_ERROR_BASE + 123)
268 #define AIE_start_resend (AIE_CM_ERROR_BASE + 124)
269 #define AIE_finish_resend (AIE_CM_ERROR_BASE + 125)
270 #define AIE_start_cancel_checkouts (AIE_CM_ERROR_BASE + 126)
271 #define AIE_finish_cancel_checkouts (AIE_CM_ERROR_BASE + 127)
272 
273 #define AIE_BATCH_EXPORT_CREATED (AIE_CM_ERROR_BASE + 128)
274 #define AIE_BATCH_EXPORT_STARTED (AIE_CM_ERROR_BASE + 129)
275 #define AIE_BATCH_EXPORT_FINISHED (AIE_CM_ERROR_BASE + 130)
276 #define AIE_BATCH_EXPORT_FAILED (AIE_CM_ERROR_BASE + 131)
277 
278 /* Import errors */
279 #define AIE_IMPORT_SKIPPED (AIE_CM_ERROR_BASE + 200)
280 #define AIE_IMPORT_CLIENT_ERROR (AIE_CM_ERROR_BASE + 201)
281 #define AIE_IMPORT_SERVER_ERROR (AIE_CM_ERROR_BASE + 202)
282 #define AIE_IMPORT_OK (AIE_CM_ERROR_BASE + 203)
283 #define AIE_IMPORT_NOT_OK (AIE_CM_ERROR_BASE + 204)
284 #define AIE_START_IMPORT (AIE_CM_ERROR_BASE + 205)
285 #define AIE_FINISH_IMPORT (AIE_CM_ERROR_BASE + 206)
286 #define AIE_NO_IMPORT (AIE_CM_ERROR_BASE + 207)
287 #define AIE_ERROR_IMPORTING_FILES (AIE_CM_ERROR_BASE + 208)
288 #define AIE_FILE_IN_USE (AIE_CM_ERROR_BASE + 209)
289 
290 #define AIE_IMPORT_TC_MODIFIED (AIE_CM_ERROR_BASE + 210)
291 #define AIE_IMPORT_TC_DELETED (AIE_CM_ERROR_BASE + 211)
292 #define AIE_IMPORT_TC_CHECKED_OUT (AIE_CM_ERROR_BASE + 212)
293 #define AIE_SAME_FILE_EXISTS (AIE_CM_ERROR_BASE + 213)
294 
295 #define AIE_IMPORT_ORPHANED_FILE (AIE_CM_ERROR_BASE + 220)
296 
297 #define AIE_IM_IMPORT_NO_IMPORTINFO (AIE_CM_ERROR_BASE + 230)
298 #define AIE_IM_IMPORT_NOT_CHECKED_OUT (AIE_CM_ERROR_BASE + 231)
299 #define AIE_IM_IMPORT_NO_SOURCE_DEST (AIE_CM_ERROR_BASE + 232)
300 #define AIE_IM_IMPORT_FILE_NOT_IN_CONN (AIE_CM_ERROR_BASE + 233)
301 #define AIE_IM_IMPORT_NEW_FILE_IN_CONN (AIE_CM_ERROR_BASE + 234)
302 #define AIE_IM_IMPORT_NO_SAVE_TARGET (AIE_CM_ERROR_BASE + 235)
303 #define AIE_IM_IMPORT_IN_PROGRESS (AIE_CM_ERROR_BASE + 236)
304 #define AIE_IM_IMPORT_CANNOT_INSERT (AIE_CM_ERROR_BASE + 237)
305 #define AIE_IM_IMPORT_CANNOT_SAVE_ATTRS (AIE_CM_ERROR_BASE + 238)
306 #define AIE_IM_IMPORT_CANNOT_CHECKOUT (AIE_CM_ERROR_BASE + 239)
307 #define AIE_IM_IMPORT_CANNOT_CHECKIN (AIE_CM_ERROR_BASE + 240)
308 #define AIE_IM_IMPORT_CANNOT_ADD_NR (AIE_CM_ERROR_BASE + 241)
309 #define AIE_IM_CHECKED_IN_AND_IMPORTED (AIE_CM_ERROR_BASE + 242)
310 #define AIE_IM_IMPORT_RE_CHECKED_OUT (AIE_CM_ERROR_BASE + 243)
311 #define AIE_IM_IMPORT_NEW_FILE (AIE_CM_ERROR_BASE + 244)
312 #define AIE_IM_BVR_FOUND_NO_FILE (AIE_CM_ERROR_BASE + 245)
313 #define AIE_IM_BVR_FILE_NOT_IMPORTED (AIE_CM_ERROR_BASE + 246)
314 #define AIE_IM_IMPORT_CANNOT_INSERT_FILE (AIE_CM_ERROR_BASE + 247)
315 #define AIE_IM_IMPORT_NOT_IMPORTED (AIE_CM_ERROR_BASE + 248)
316 #define AIE_IM_IMPORT_EXPORT_EXISTING (AIE_CM_ERROR_BASE + 249)
317 #define AIE_IM_IMPORT_CANT_CHANGE_ITEM (AIE_CM_ERROR_BASE + 250)
318 
319 #define AIE_START_CLEANUP (AIE_CM_ERROR_BASE + 251)
320 #define AIE_FINISH_CLEANUP (AIE_CM_ERROR_BASE + 252)
321 #define AIE_REMOVED_FILE (AIE_CM_ERROR_BASE + 253)
322 
323 #define AIE_IM_IMPORT_CANT_CHANGE_UOM (AIE_CM_ERROR_BASE + 254)
324 
325 #define AIE_IM_IMPORT_TO_NEW_SEPARATE_DS (AIE_CM_ERROR_BASE + 255)
326 #define AIE_IM_IMPORT_TO_SEPARATE_DS (AIE_CM_ERROR_BASE + 256)
327 #define AIE_IM_CANT_IMPORT_TO_SEPARATE_DS (AIE_CM_ERROR_BASE + 257)
328 
329 #define AIE_IM_IMPLICIT_CHECKOUT_DS (AIE_CM_ERROR_BASE + 258)
330 #define AIE_IM_CANT_SET_DMGR_PRIV (AIE_CM_ERROR_BASE + 259)
331 #define AIE_IM_IMPORT_CANT_IMPLICIT_CHECKOUT (AIE_CM_ERROR_BASE + 260)
332 #define AIE_IM_IMPORT_STALE_XML_FILE (AIE_CM_ERROR_BASE + 261)
333 #define AIE_IM_OVERWROTE_DATASET_AND_IMPORTED (AIE_CM_ERROR_BASE + 262)
334 
335 #define AIE_BATCH_IMPORT_CREATED (AIE_CM_ERROR_BASE + 263)
336 #define AIE_BATCH_IMPORT_STARTED (AIE_CM_ERROR_BASE + 264)
337 #define AIE_BATCH_IMPORT_FINISHED (AIE_CM_ERROR_BASE + 265)
338 #define AIE_BATCH_IMPORT_FAILED (AIE_CM_ERROR_BASE + 266)
339 
340 /* Executing pre import script errors:
341  xxxx2 error message same as xxxx, but it appends the detail
342  infomation like the drawing filename, XFile name which shows on the log file */
343 #define AIE_IM_IMPORT_PRE_IMPORT_SCRIPT (AIE_CM_ERROR_BASE + 267)
344 #define AIE_IM_IMPORT_PRE_IMPORT_SCRIPT2 (AIE_CM_ERROR_BASE + 268)
345 #define AIE_XFILE_NOT_FOUND_ABORT (AIE_CM_ERROR_BASE + 269)
346 #define AIE_XFILE_NOT_FOUND_ABORT2 (AIE_CM_ERROR_BASE + 270)
347 #define AIE_IMPORT_SCRIPT_NOT_FOUND (AIE_CM_ERROR_BASE + 271)
348 #define AIE_IMPORT_SCRIPT_NOT_FOUND2 (AIE_CM_ERROR_BASE + 272)
349 #define AIE_IMPORT_INVALID_CONN_FILE_TAG (AIE_CM_ERROR_BASE + 273)
350 #define AIE_IMPORT_FILEDIR_NOTMATCHING_CONNDIR (AIE_CM_ERROR_BASE + 274)
351 
352 /* Registry errors */
353 #define AIE_reg_ok (0)
354 #define AIE_reg_error (AIE_CM_ERROR_BASE + 300)
355 #define AIE_reg_nokey (AIE_CM_ERROR_BASE + 301)
356 #define AIE_reg_missing (AIE_CM_ERROR_BASE + 302)
357 #define AIE_reg_duplicate (AIE_CM_ERROR_BASE + 303)
358 
359 /* Licensing errors */
360 #define AIE_unlicensed (AIE_CM_ERROR_BASE + 320)
361 #define AIE_no_license_available (AIE_CM_ERROR_BASE + 321)
362 #define AIE_license_error (AIE_CM_ERROR_BASE + 322)
363 #define AIE_license_init_error (AIE_CM_ERROR_BASE + 323)
364 
365 #define AIE_cant_get_ds_family_name (AIE_CM_ERROR_BASE + 324)
366 #define AIE_no_ds_family_name_for_ds (AIE_CM_ERROR_BASE + 325)
367 
368 /* Application specific messages */
369 #define AIE_START_CHECKMATE (AIE_CM_ERROR_BASE + 400)
370 #define AIE_FINISH_CHECKMATE (AIE_CM_ERROR_BASE + 401)
371 #define AIE_CHECKMATE_SETUP_ERROR (AIE_CM_ERROR_BASE + 402)
372 #define AIE_CHECKMATE_FAILURES (AIE_CM_ERROR_BASE + 403)
373 
374 /* Reserved for licensing */
375 #define AIE_internal_reserved (AIE_CM_ERROR_BASE + 499)
376 
377 /*****************************************************************************\
378 
379  Add generic app-specific error codes here - should look somethink like:
380 
381 #define AIE_APPGEN_ERROR_ONE (AIE_APP_GENERIC_ERROR_BASE + 0)
382 
383 \*****************************************************************************/
384 
385 /* Add range of errors for Application Export */
386 #define AIE_check_out_error (AIE_APP_GENERIC_ERROR_BASE + 1)
387 #define AIE_child_dataset_not_found (AIE_APP_GENERIC_ERROR_BASE + 2)
388 #define AIE_different_file_tags (AIE_APP_GENERIC_ERROR_BASE + 3)
389 #define AIE_file_length_limit_exceeded (AIE_APP_GENERIC_ERROR_BASE + 4)
390 #define AIE_ixfpath_length_limit_exceeded (AIE_APP_GENERIC_ERROR_BASE + 5)
391 #define AIE_null_xml_attribute_name (AIE_APP_GENERIC_ERROR_BASE + 6)
392 #define AIE_null_xml_element_name (AIE_APP_GENERIC_ERROR_BASE + 7)
393 #define AIE_export_not_successful (AIE_APP_GENERIC_ERROR_BASE + 8)
394 #define AIE_null_xml_element_value (AIE_APP_GENERIC_ERROR_BASE + 9)
395 #define AIE_wrong_occ_xtransform (AIE_APP_GENERIC_ERROR_BASE + 10)
396 #define AIE_INVALID_ARGUMENT (AIE_APP_GENERIC_ERROR_BASE + 11)
397 
398 /* Add range of errors for Application Import */
399 #define AIE_APP_IMPORT_ERR (AIE_APP_GENERIC_ERROR_BASE + 100)
400 
401 #define AIE_file_tampered (AIE_APP_IMPORT_ERR + 1)
402 #define AIE_new_file_no_xml (AIE_APP_IMPORT_ERR + 2)
403 
404 /* Add range of errors for Datamodel service */
405 #define AIE_DMS_ERR ( AIE_APP_GENERIC_ERROR_BASE + 200 )
406 
407 #define AIE_dms_datasettype_not_supported ( AIE_DMS_ERR + 1 )
408 
409 /* Template related messages */
410 #define AIE_NO_TEMPLATE_FOLDER (AIE_TEMPLATE_ERROR_BASE + 1)
411 #define AIE_NO_MATCHING_TEMPLATE_FOLDER (AIE_TEMPLATE_ERROR_BASE + 2)
412 
413 #endif