Vous êtes sur la page 1sur 48

TREX 7.0 Error codes for all projects / 11.10.

05
/*
* Error codes for all TREX project
* see (edit) the file TRexRCodes/TRexRcode.h to see what error numbers
* you should use
*/
// codes from 1 to 1999 are copied from apinew.h and were at some time
// extended with new codes. The names from apinew.h have been prefixed
// with "TREX_" so they won't collide with the names used in apinew.h.
// codes not used in apinew.h should be removed eventually (or their
// number (and maybe also their name) changed).

TREX_SAP_OK = 0;
TREX_SAPRC_DETAILED = 1;
TREX_SAPRC_DOCNOTFOUND = 4;
TREX_SAPRC_DUPLIDOC = 5;
TREX_SAPRC_INDEXLOCKED = 6;
TREX_SAPRC_INDEXCORRUPT = 8;
TREX_SAPRC_MEMORYFULL = 9;
TREX_SAPRC_NOSPACEFOUND = 10;
TREX_SAPRC_UNKNOWNLANG = 11;
TREX_SAPRC_DIRCREATFAIL = 12;
TREX_SAPRC_DIRDELFAIL = 13;
TREX_SAPRC_UNKNOWNTYPE = 14;
TREX_SAPRC_FILEERROR = 16;
TREX_SAPRC_INVALIDARG = 18;
TREX_SAPRC_VALUE_TOO_LONG = 19;
TREX_SAPRC_SYSTEMERROR = 20;
TREX_SAPRC_OPTFAILED_IDX_ROLLBACKED = 21;
TREX_SAPRC_IDXOPTFAILED = 22;
TREX_SAPRC_DOCUMENT_DELAYED = 23;
TREX_SAPRC_CANNOT_CREATE_INDEX = 28;
TREX_SAPRC_ATTRIBUTE_UNKNOWN = 29;

// errors concerning configuration exceptions:


TREX_SAPRC_CONFIGURATION_ERROR = 30;
TREX_SAPRC_FILE_NOT_FOUND = 31;
TREX_SAPRC_FILE_OPEN_ERROR = 32;
TREX_SAPRC_FILE_READ_ERROR = 33;
TREX_SAPRC_FILE_WRITE_ERROR = 34;
TREX_SAPRC_SECTION_NOT_FOUND = 35;
TREX_SAPRC_VALUE_NOT_FOUND = 36;
TREX_SAPRC_FILE_CREATE_ERROR = 37;
TREX_SAPRC_FILE_REMOVE_ERROR = 38;
TREX_SAPRC_FILE_RENAME_ERROR = 39;

// concerning nameserver
TREX_SAPRC_MASTERNOTACTIVE = 40;

// communication with preprocessor failed


TREX_SAPRC_COMM_FAILED_WITH_PREPROC = 42;
// rollback failed : try again
TREX_SAPRC_ROLLBACK_NECCESSARY = 43;
// rollback of index part failed
TREX_SAPRC_ROLLBACK_PART_FAILED = 44;

//------------------------- TREX_ContentStore----------------
TREX_CS_FILE_NOERROR = 100;
TREX_CS_FILE_OPENMODENOTACCEPTED = 101;
TREX_CS_FILE_OPENFAILED = 102;
TREX_CS_FILE_STILLOPEN = 103;
TREX_CS_FILE_NOTOPEN = 104;
TREX_CS_FILE_LASTOPFAILEDHANDLEOK = 105;
TREX_CS_FILE_LASTOPFAILEDHANDLEBAD = 106;
TREX_CS_FILE_ERROR7 = 107;
TREX_CS_FILE_ERROR8 = 108;
TREX_CS_FILE_ERROR9 = 109;
TREX_CS_FILE_ALREADYOPEN = 110;
TREX_CS_FILE_EOF = 111;
TREX_CS_FILE_CLOSEFAILED = 112;

//------------------------- TREXEnWrapper----------------
TREX_ENWRAP_ENREP_ALREADY_ENGAGED = 501;
TREX_ENWRAP_ENQ_ALREADY_ENGAGED = 502;
TREX_ENWRAP_SPAWN_FAILED = 503;
TREX_ENWRAP_KILL_FAILED = 504;
TREX_ENWRAP_GEN_PROFILE_FAILED = 505;

//----------------------------------------------------------
TREX_SAPRC_GENERAL_QS_ERROR = 1500;
TREX_SAPRC_GENERAL_STE_ERROR = 1501;
TREX_SAPRC_TREXCONFIGMGR_ERROR = 1502;
TREX_SAPRC_NO_QUEUE_SERVER_EXISTING = 1503;
TREX_SAPRC_CONVERSION_2_UTF8_ERROR = 1504;
TREX_SAPRC_CONVERSION_2_INPUT_CP_ERROR = 1505;
TREX_SAPRC_QUEUE_NOT_EXISTING = 1506;
TREX_SAPRC_DISK_FULL = 1507;
TREX_SAPRC_HANDLES_IN_USE = 1508;
TREX_SAPRC_DOCTOOBIG = 1509;
TREX_SAPRC_DOCTOOSHORT = 1510;
TREX_SAPRC_DOCINVALID_DOCRATIO= 1511;

TREX_SAPRC_SEARCH_ERROR = 1959;
TREX_SAPRC_SERVER_NOT_FOUND = 1960;
TREX_SAPRC_GENERAL_IMSAPI_ERROR = 1961;

TREX_SAPRC_EXTENSION_ATTRIBUTE_EXTRACTION_FAILED = 1973;
TREX_SAPRC_EXTENSION_FILTERING_FAILED = 1974;
TREX_SAPRC_EXTENSION_URL_RETRIEVAL_FAILED = 1975;
TREX_SAPRC_INDEXING_EXTENSION_FAILED = 1976;

TREX_SAPRC_QS_INDEX_AND_DEINDEX = 1977;
TREX_SAPRC_UNKNOWN_ATTRIBUTE = 1978;
TREX_SAPRC_NO_EXTENSION_HANDLER = 1979;
TREX_SAPRC_FUNCTION_NOT_IMPLEMENTED = 1981;
TREX_SAPRC_TCPIP_COMMUNICATION_ERROR = 1982;
TREX_SAPRC_DOCUMENT_INDEX_ERROR = 1983;
TREX_SAPRC_TOOMANYNATURALTEXTITEMS = 1984;
TREX_SAPRC_UNKNOWNACTION = 1985;
TREX_SAPRC_TOOMANYSTORAGES = 1986;
TREX_SAPRC_WRONGQUERY = 1987;
TREX_SAPRC_MISSARG = 1988;
TREX_SAPRFC_DUPLIDOC = 1989;
TREX_SAPRC_CODEPAGE_ERROR =1990;
TREX_SAPRC_CONF_ERROR = 1991;
TREX_SAPRC_INTERNAL_DLL_CANNOT_BE_LOADED = 1992;
TREX_SAPRC_PARAMETER_NOT_FOUND = 1993;
TREX_SAP_ERROR = 1994;
TREX_SAPRC_LOCKHANDLING = 1995;
TREX_SAPRC_VERSION_ERROR = 1996;
TREX_SAPRC_RFC_PARAMETER_NOT_FOUND = 1997;
TREX_SAPRC_DLL_CANNOT_BE_LOADED = 1998;
TREX_SAPRC_ERROR_GENERAL_ERROR = 1999;

// --------------------
// ims_search_api:
// errors with these codes should be posted only in ims_search_api

IMSRC_INDEXEXISTS = 2003;
IMSRC_INDEXNOTASSIGNED = 2004;
IMSRC_INDEXLOCKED = 2006;
IMSRC_INDEXNOTFOUND = 2007;
IMSRC_INDEXCORRUPT = 2008;
IMSRC_MEMORYFULL = 2009;
IMSRC_INDEX_RO = 2010;
IMSRC_UNKNOWNLANG = 2011;
IMSRC_INVALIDARG = 2018;
IMSRC_INDEX_NAME_CONFLICT = 2019;
IMSRC_SYNTAX_ERROR = 2029;

// errors concerning configuration exceptions:


IMSRC_CONFIGURATION_ERROR = 2030;
IMSRC_FILE_NOT_FOUND = 2031;
IMSRC_FILE_OPEN_ERROR = 2032;
IMSRC_FILE_READ_ERROR = 2033;
IMSRC_FILE_WRITE_ERROR = 2034;
IMSRC_SECTION_NOT_FOUND = 2035;
IMSRC_VALUE_NOT_FOUND = 2036;
IMSRC_FILE_CREATE_ERROR = 2037;
IMSRC_FILE_REMOVE_ERROR = 2038;
IMSRC_FILE_RENAME_ERROR = 2039;

IMSRC_TABLE_CONFIGURATION_ERROR = 2040;
IMSRC_TABLE_ROW_LENGTH_ERROR = 2041;

IMSRC_LEXICON_ERROR = 2042;

IMSRC_DIRECTORY_REMOVAL_ERROR = 2043;

IMSRC_LOGICALINDEXEXISTS = 2044;
IMSRC_LOGICALINDEX_PART_ERROR = 2045;
IMSRC_LOGICALINDEX_PART_EXISTS = 2046;

IMSRC_NOT_SUPPORTED_ANYMORE = 2100;

IMSRC_THX_LOOKUP_TERMS_FAILED = 2401;
IMSRC_THX_SET_THESAURUS_TERM_FAILED = 2402;
IMSRC_THX_ADD_THESAURUS_RELATION_FAILED = 2403;
IMSRC_THX_ADD_THESAURUS_ROLE_FAILED = 2404;
IMSRC_THX_GET_THESAURUS_TERMS_FAILED = 2405;
IMSRC_THX_CLEAR_ROLES_AND_RELATIONS_FAILED = 2406;
IMSRC_SIMMODEL_IO = 2419;
IMSRC_TAXONOMY_NODE_NOT_FOUND = 2420;
IMSRC_TAXONOMY_NODE_HAS_CHILDREN = 2421;
IMSRC_TAXONOMY_DOES_NOT_EXIST = 2422;
IMSRC_TAXONOMY_ASSIGNMENT_TO_CHILD = 2423;
IMSRC_CHARACTERS_NOT_UTF8 = 2424;

IMSRC_INVALID_ATTRIBUTE_NAME = 2430;
IMSRC_INVALID_INDEXID = 2431;
IMSRC_LOGICAL_INDEX_CREATE_ERROR = 2432;
IMSRC_JOIN_INDEX_CREATE_ERROR = 2433;
IMSRC_JOIN_INDEX_INCONSISTENT = 2434;
IMSRC_INVALID_METAMODELID = 2435;
IMSRC_DUPLICATE_METAMODELID = 2436;

IMSRC_TEMPINDEX_NOT_FILLED = 2440;

IMSRC_GENERAL_QS_ERROR = 2500;
IMSRC_GENERAL_STE_ERROR = 2501;
IMSRC_NO_QUEUE_SERVER_EXISTING = 2503;
IMSRC_QUEUE_NOT_EXISTING = 2506;

XRC_NODATA = 2601;
XRC_DATA_DELETED = 2602;
XRC_UNDEFINED_STATE = 2603;
XRC_PARAMETER_TYPE = 2604;
XRC_OUTPUT_TWICE = 2605;
XRC_POP_NOT_FOUND = 2606;
XRC_CANNOT_CREATE_DATA = 2607;
XRC_PLAN_MISSING = 2608;
XRC_EXECUTOR_ID_MISSING = 2609;
XRC_EXECUTOR_MISSING = 2610;
XRC_EXECUTOR_TWICE = 2611;
XRC_NOT_IMPLEMENTED = 2612;
XRC_COMMUNICATION_ERROR = 2613;
XRC_DATA_FAILED = 2614;
XRC_POP_ARGTYPE = 2615;
XRC_POP_NOT_CALLED = 2616;
XRC_POP_GENERAL_ERROR = 2617;
// XRC_AGGREGATE_COL_MISMATCH = 2618;
XRC_ATTRIBUTE_TYPE = 2619;
XRC_POP_ERROR = 2620;
XRC_POP_ARGCOUNT = 2621;
XRC_POP_PARAMETER = 2622;
XRC_FAILED_TO_TERMINATE = 2623;
XRC_EXECUTOR_ID_NOT_FOUND = 2624;

DFC_UNKNOWN_REQUEST = 2690;
DFC_HANDLE_NOT_FOUND = 2691;
DFC_HANDLE_EXISTS = 2692;
DFC_HANDLE_IN_USE = 2693;
DFC_UNKNOWN_HANDLE_TEST_REQUEST = 2694;
DFC_HANDLE_FAILED = 2695;

OLAP_CACHE_ENTRY_MISSING = 2701;
OLAP_AGGREGATE_COL_MISMATCH = 2702;
OLAP_AGGREGATE_NOT_ENOUGH_MEMORY = 2703;
OLAP_UNKNOWN_ATTRIBUTES = 2704;
OLAP_INTERNAL_AGGREGATION_ERROR = 2705;
OLAP_NO_DELTA = 2706;
OLAP_DELTA_MISSING = 2707;
OLAP_FTABLE_QUERY_ERROR = 2708;
OLAP_SORT_COL = 2709;
OLAP_INCONSISTENT_FACT_TABLE = 2710;

IMSRC_GENERAL_ASSIGN_ERROR = 2956;
IMSRC_ATTRIBUTE_UNKNOWN = 2957;
IMSRC_EXTERNAL_SEARCH_FAILED = 2958;
IMSRC_ATTRIBUTE_EXISTS = 2959;
IMSRC_SERVER_NOT_FOUND = 2960;
IMSRC_UNKNOWN_FUNCTION_IN_RESPONSE = 2961;
IMSRC_TCPIP_VERSION_MISMATCH = 2962;
IMSRC_TCPIP_OBJECT_ID_MISMATCH = 2963;

IMSRC_TCPIP_OBJECT_END_INCORRECT = 2964;
IMSRC_INDEX_NOT_WRITABLE = 2965;
IMSRC_INDEX_NOT_SEARCHABLE = 2966;
IMSRC_TCPIP_CONN_REFUSED = 2967;
IMSRC_TCPIP_INIT_FAILED = 2968;
IMSRC_TCPIP_NO_DATA = 2969;
IMSRC_TCPIP_MAX_RETRY = 2970;
IMSRC_TCPIP_UNKNOWN = 2971;

IMSRC_INDEX_TEMPORARY_NOT_AVAILABLE = 2972;
IMSRC_SEARCHCACHE_FAILED = 2973;
IMSRC_DYNAMIC_CAST_FAILED = 2974;

//anfragen an EINIGE der server im multi-server search gingen schief,


//andere server brachten aber ergebnisse
IMSRC_MULTISERVER_SEARCH_ERROR = 2975;

IMSRC_INDEXING_EXTENSION_FAILED = 2976;

IMSRC_QS_INDEX_AND_DEINDEX = 2977;
IMSRC_SPLITINDEX_CREATEINDEX_FAILED = 2978;
IMSRC_NO_EXTENSION_HANDLER = 2979;
IMSRC_SPLITINDEX_MERGEINDEX_FAILED = 2980;
IMSRC_FUNCTION_NOT_IMPLEMENTED = 2981;
IMSRC_TCPIP_COMMUNICATION_ERROR = 2982;
IMSRC_DOCUMENT_INDEX_ERROR = 2983;
IMSRC_RFC_COMMUNICATION_ERROR = 2984;
IMSRC_SPLITINDEX_MERGEDELTAINDEX_FAILED = 2985;
IMSRC_SPLITINDEX_RENAMEINDEX_FAILED = 2986;
IMSRC_SPLITINDEX_ROLLBACKINDEX_FAILED = 2987;
IMSRC_MISSARG = 2988;
IMSRC_SPLITINDEX_DELETEINDEX_FAILED = 2989;
IMSRC_CODEPAGE_ERROR =2990;
IMSRC_CONF_ERROR = 2991;
IMSRC_INTERNAL_DLL_CANNOT_BE_LOADED = 2992;
IMSRC_RENAME_ERROR = 2993;
IMSRC_SAP_ERROR = 2994;
IMSRC_SPLITINDEX_QUEUE_ACTIVE = 2995;
IMSRC_DLL_CANNOT_BE_LOADED = 2998;
IMSRC_GENERAL_ERROR = 2999;
/* ------------- IdxProv Errors ------------------------------ */
/**********************************************************************/
/* */
/* general params */
/* */
/**********************************************************************/

IDXPROV_EMPTY_PARAM = 3001;
IDXPROV_WRONG_PARAM = 3002;
IDXPROV_NOT_FOUND = 3003;
IDXPROV_INDEX_NOT_VALID = 3004;
IDXPROV_ELEMENT_NOT_FOUND = 3005;
IDXPROV_NULL_POINTER = 3006;
IDXPROV_INDEX_EXITS = 3007;
IDXPROV_DB_CONFILICT = 3008;
IDXPROV_NOT_ENOUGH_MEMORY = 3009;
IDXPROV_IDXLIST_CONFLICT = 3010;
IDXPROV_INDEX_NOT_FOUND = 3011;
IDXPROV_INDEX_EXISTS = 3012;
IDXPROV_CPP_API_SET_ERR = 3013;
IDXPROV_GUID_CREATE_ERR = 3014;
IDXPROV_NO_TM_ENGINE = 3015;
IDXPROV_WRONG_CLASS_FLAG = 3016;
IDXPROV_WRONG_TMFLAG = 3017;
IDXPROV_WRONG_FILTERFLAG = 3018;
IDXPROV_WRONG_INDEXTYPE = 3019;
IDXPROV_WRONG_QSFLAG = 3020;
IDXPROV_NO_QUEUESERVER_FOUND = 3021;
IDXPROV_BACKPARSE_ERROR = 3022;
IDXPROV_UNKNOWN_INDEX_CREATE_ERROR = 3023;
IDXPROV_UNKNOWN_ATTR_CHANGE_ACTION = 3024;

IDXPROV_NS_NO_RESULT = 3098;
IDXPROV_IMS_SERVER_API_ERR = 3099;
IDXPROV_UNKOWN_API_ERR = 3100;
IDXPROV_NOT_IMPLEMENTED = 3101;
IDXPROV_ERROR_CREATE_QUEUE = 3102;
IDXPROV_UNKNOWN_REQUEST = 3499;

/**********************************************************************/
/* */
/* xml parse errors */
/* 3500-3599 Errors in PreParsing and Parsing AdminCall */
/* 3600-3699 Errors in Parsing TMCall */
/* 3700-3799 Errors usi TRexAPI C++
*/
/* */
/**********************************************************************/
IDXPROV_XML_MAIN_TYPE_UNKNOWN = 3500;
IDXPROV_XML_SUB_TYPE_UNKNOWN = 3501;
IDXPROV_XML_MISSING_OPENING_TAG = 3502;
IDXPROV_XML_MISSING_CLOSING_TAG = 3503;
IDXPROV_XML_INDEXID_NOT_SPECIFIED = 3504;
IDXPROV_XML_TAG_NOT_SPECIFIED = 3505;
IDXPROV_XML_LAISO_NOT_SPECIFIED = 3506;
IDXPROV_XML_TMENGINE_NOT_SPECIFIED = 3507;
// DocAttr
IDXPROV_XML_DOCATTR_NAME_NOT_SPECIFIED = 3508;
IDXPROV_XML_DOCATTR_TYPE_NOT_SPECIFIED = 3509;
IDXPROV_XML_DOCATTR_CLFLAG_NOT_SPECIFIED = 3510;
// IdxAttr
IDXPROV_XML_IDXATTR_NAME_NOT_SPECIFIED = 3511;
IDXPROV_XML_IDXATTR_TYPE_NOT_SPECIFIED = 3512;
IDXPROV_XML_IDXATTR_VALUE1_NOT_SPECIFIED = 3513;
IDXPROV_XML_IDXATTR_VALUE2_NOT_SPECIFIED = 3514;
// TechAttr
IDXPROV_XML_TECHATTR_NAME_NOT_SPECIFIED = 3515;
IDXPROV_XML_TECHATTR_TYPE_NOT_SPECIFIED = 3516;
IDXPROV_XML_TECHATTR_VALUE1_NOT_SPECIFIED = 3517;
IDXPROV_XML_TECHATTR_VALUE2_NOT_SPECIFIED = 3518;

IDXPROV_XML_NEW_INDEXID_NOT_SPECIFIED = 3519;
IDXPROV_XML_PATH_NOT_SPECIFIED = 3520;
IDXPROV_XML_TMENAME_NOT_SPECIFIED = 3521;
IDXPROV_XML_TRACELEVEL_NOT_SPECIFIED = 3522;
IDXPROV_XML_CONVERT_IS_NOT_IMPLEMENTED = 3523;
IDXPROV_XML_MISMATCH_TAG = 3524;

IDXPROV_XML_ERROR_SYNTAX = 3597;
IDXPROV_XML_NOT_WELLFORMED = 3598;
IDXPROV_XML_SAX_PARSE_ERROR = 3599;

// -------------- Errors from TM parsing


IDXPROV_XML_RANKVALUE_NOT_SPECIFIED = 3600;
IDXPROV_XML_MAXCLASS_NOT_SPECIFIED = 3601;
IDXPROV_XML_DOCID_NOT_SPECIFIED = 3602;
IDXPROV_XML_DOCTYPE_NOT_SPECIFIED = 3603;
// IDXPROV_XML_LAISO_NOT_SPECIFIED = 3604;
IDXPROV_XML_CONTENT_NOT_SPECIFIED = 3605;
IDXPROV_XML_QUERY_NOT_SPECIFIED = 3606;
IDXPROV_XML_IN_NOT_SPECIFIED = 3607;
IDXPROV_XML_DOCATTRNAME_NOT_SPECIFIED = 3608;
IDXPROV_XML_SORTDIRECTION_NOT_SPECIFIED = 3609;
IDXPROV_XML_SELECT_NOT_SPECIFIED = 3610;
IDXPROV_XML_WHERE_NOT_SPECIFIED = 3611;
IDXPROV_XML_QTERM_NOT_SPECIFIED = 3612;
IDXPROV_XML_QTNAME_NOT_SPECIFIED = 3613;
IDXPROV_XML_QTYPE_NOT_SPECIFIED = 3614;
IDXPROV_XML_VALUE1_NOT_SPECIFIED = 3615;
IDXPROV_XML_MAX_FEATURES_NOT_SPECIFIED = 3616;
IDXPROV_XML_UNKNOWN_CONTENT_TYPE = 3617;
IDXPROV_XML_MAX_SIMILAR_DOCS_NOT_SPECIFIED = 3618;
IDXPROV_XML_WITH_ATTRIBUTES_NOT_SPECIFIED = 3619;
IDXPROV_XML_INDEX_NOT_SPECIFIED = 3620;
IDXPROV_XML_TAXNAME_NOT_SPECIFIED = 3620;
IDXPROV_XML_CLASS_LIST_NOT_SPECIFIED = 3621;
IDXPROV_XML_CLASS_NAME_NOT_SPECIFIED = 3622;
IDXPROV_XML_TERM_LIST_NOT_SPECIFIED = 3623;
IDXPROV_XML_TERM_NAME_NOT_SPECIFIED = 3624;
IDXPROV_XML_MAX_TERMS_NOT_SPECIFIED = 3625;
IDXPROV_XML_INTERVAL_NOT_SPECIFIED = 3626;
IDXPROV_XML_FROM_NOT_SPECIFIED = 3627;
IDXPROV_XML_TO_NOT_SPECIFIED = 3628;
IDXPROV_XML_INDEX_LIST_NOT_SPECIFIED = 3629;
IDXPROV_XML_TERM_NOT_SPECIFIED = 3630;
IDXPROV_XML_INDEX_LOC_NOT_SPECIFIED = 3631;
IDXPROV_XML_ERROR_INDEX_LOC = 3632;

IDXPROV_XML_DOCATTR_NOT_SPECIFIED = 3633;
IDXPROV_XML_NAME_NOT_SPECIFIED = 3634;
IDXPROV_XML_DOCUMENT_NOT_SPECIFIED = 3635;
IDXPROV_XML_CONTENT_TYPE_NOT_SPECIFIED = 3636;
IDXPROV_XML_MIMETYPE_NOT_SPECIFIED = 3637;
IDXPROV_XML_DOCLIST_NOT_SPECIFIED = 3638;

IDXPROV_XML_DEDOCLIST_NOT_SPECIFIED = 3639;
IDXPROV_XML_DEDOC_NOT_SPECIFIED = 3640;

IDXPROV_XML_HOST_NOT_SPECIFIED = 3641;
IDXPROV_XML_PORT_NOT_SPECIFIED = 3642;
IDXPROV_XML_LOCATION_NOT_SPECIFIED = 3643;
IDXPROV_XML_CHOICE_NOT_SPECIFIED = 3644;

// inlineparsing and infix2postfix errors


IDXPROV_XML_UNKNOWN_QTERM_OPERATOR = 3680;
IDXPROV_XML_UNKNOWN_QTERM_QTYPE = 3681;
IDXPROV_XML_ERROR_IN_BRACKET_STACK = 3682;
IDXPROV_XML_ERROR_IN_INLINE_EXPAND = 3683;

// -------------- Errors when using TRexAPI C++


IDXPROV_TREX_ERROR_SET_RESULT_FROM_TO = 3700;
IDXPROV_TREX_ERROR_ADD_INDEXID = 3701;
IDXPROV_TREX_ERROR_SORT_ATTRIBUTE = 3702;
IDXPROV_TREX_ERROR_ADD_REQ_ATTR = 3703;
IDXPROV_TREX_ERROR_SET_CODEPAGE = 3704;
IDXPROV_TREX_ERROR_SET_LANGUAGE = 3705;
IDXPROV_TREX_ERROR_ADD_QUERYENTRY = 3706;
IDXPROV_TREX_ERROR_QE_SET_XML_QUERYSTRING = 3707;
IDXPROV_TREX_ERROR_SET_DOCID = 3708;
IDXPROV_TREX_ERROR_ADD_SEARCH_DOC = 3709;
IDXPROV_TREX_ERROR_SET_MAXRESULTS = 3710;
IDXPROV_TREX_ERROR_SET_CLASSIFY_ATTR = 3711;
IDXPROV_TREX_ERROR_ADD_DOCUMENT = 3712;
IDXPROV_TREX_ERROR_ADD_CLASS = 3713;
IDXPROV_TREX_ERROR_ADD_TERMS = 3714;
IDXPROV_TREX_ERROR_SET_INDEXID = 3715;
IDXPROV_TREX_ERROR_SET_THR_RANKVAL = 3716;
IDXPROV_TREX_ERROR_SET_DOCUMENT_GROUP = 3717;

IDXPROV_TREX_ERROR_SET_CLUSTERING_METHOD = 3718;
IDXPROV_TREX_ERROR_SET_DOCSIM_METHOD = 3719;

/* -------------------- ERRORS from QueueServer --------------------*/


IDXPROV_XML_INVALID_SCHEDULE_TIME = 3750;
IDXPROV_QS_INDEXID_NOT_VALID = 3751;
// IDXPROV_QS_DOCID_NOT_VALID = 3572;

/* -------------------- TRexCommonObjects ------------------ */

TREXCOMMON_ATTRIBUTE_TYPE_MISMATCH = 4000;
TREXCOMMON_INCONSISTENT_ATTRIBUTE = 4001;
TREXCOMMON_INVALID_ATTRIBUTE_TYPE = 4002;
TREXCOMMON_INVALID_ATTRIBUTE_OPERATOR = 4003;
TREXCOMMON_ATTRIBUTE_CONVERSION_ERROR = 4004;
TREXCOMMON_DB_OPEN_ERROR = 4010;
TREXCOMMON_DB_READ_ERROR = 4011;
TREXCOMMON_DB_WRITE_ERROR = 4012;

/* --------------------- SimSearch ---------------------- */


SIM_RC_NOT_YET_IMPLEMENTED = 4400;
SIM_RC_NO_MODEL = 4401;
SIM_RC_MEASURE_NOT_FOUND = 4402;
SIM_RC_USE_MALUS = 4403;
SIM_RC_NO_MISSING_HANDLER = 4404;
SIM_RC_EXTERNAL_KEY_NOT_FOUND = 4405;
SIM_RC_EMPTY_MODEL = 4406;
SIM_RC_SYNTAX_ERROR = 4407;
SIM_RC_WEIGHT_NOT_DEFINED = 4408;
SIM_RC_WRONG_ALGORITHM = 4409;
SIM_RC_INDEX_NOT_FOUND = 4410;
SIM_RC_VECTORS_DONT_MATCH = 4411;
SIM_RC_ATTRIBUTE_NOT_FOUND = 4412;
SIM_RC_ATTRIBUTE_EXISTS = 4413;
SIM_RC_EMPTY_QUERY = 4414;
SIM_RC_NO_INDEX = 4415;
SIM_RC_LOCATION_NOT_FOUND = 4416;
SIM_RC_WRONG_SORT = 4417;
SIM_RC_ERROR_WRITING_MODEL = 4450;
SIM_RC_ERROR_READING_MODEL = 4451;

/* -------------------- TrexStore -------------------- */


TREXSTORE_INDEXEXISTS = 4500;
TREXSTORE_DOCNOTFOUND = 4501;
TREXSTORE_INDEXOPENERROR = 4502;
TREXSTORE_INDEXNOTFOUND = 4503;
TREXSTORE_STOREERROR = 4504;
TREXSTORE_DATANOTFOUND = 4505;
TREXSRORE_INDEXNOTOPEN = 4506;
TREXSTORE_INDEXCREATEERROR = 4507;
TREXSTORE_STORENOTFOUND = 4508;
TREXSTORE_STORENOTOPEN = 4509;
TREXSTORE_INDEXNOTWRITEABLE = 4510;
TREXSTORE_STORECREATEERROR = 4511;
TREXSTORE_STOREREMOVEERROR = 4512;
TREXSTORE_STORECLOSEERROR = 4513;
TREXSTORE_STOREEXISTS = 4514;
TREXSTORE_STOREOPENERROR = 4515;
TREXSTORE_DOCIDMISSING = 4516;
TREXSTORE_COULDNOTWRITE = 4517;
TREXSTORE_OPTIMIZEERROR = 4518;
TREXSTORE_INDEXREMOVEERROR = 4519;
TREXSTORE_NEWDOCUMENT = 4520;
TREXSTORE_DOCCHANGED = 4521;
TREXSTORE_DOCNOTCHANGED = 4522;
TREXSTORE_STOREEXCEPTION = 4523;
TREXSTORE_NOTIMPLEMENTED = 4524;
TREXSTORE_PREPAREERROR = 4525;
TREXSTORE_COMMITERROR = 4526;
TREXSTORE_ROLLBACKERROR = 4527;
TREXSTORE_SYNCPOINTERROR = 4528;
TREXSTORE_UNDOSYNCERROR = 4529;
TREXSTORE_ALLREADYPREPARED = 4530;

/* -------------------- Trex RFC Server -------------- */


TREXRFC_GENERATE_TABLE_ERROR = 4900;
TREXRFC_READ_PARAMETER_ERROR = 4910;
TREXRFC_READ_COMPDESCR_ERROR = 4911;
TREXRFC_WRITE_PARAMETER_ERROR = 4920;
TREXRFC_MEMORY_ALLOCATION_ERROR = 4930;
TREXRFC_NOT_SUPPORTED = 4950;
TREXRFC_API_EXCEPTION = 4990;
TREXRFC_UNKNOWN_EXCEPTION = 4999;

/* -------------------- TrexSlice -------------------- */


TREXSLICE_STORE_CREATE = 5000;
TREXSLICE_STORE_NOT_FOUND = 5001;
TREXSLICE_SLICE_MISSING = 5002;
TREXSLICE_SLICE_CREATE = 5003;
TREXSLICE_SLICE_EXISTS = 5004;
TREXSLICE_SLICE_ID_READ = 5005;
TREXSLICE_STORE_EXISTS = 5006;
TREXSLICE_SLICE_DELIVER = 5007;
TREXSLICE_INDEX_READ = 5008;
TREXSLICE_PROVIDER_MISSING = 5009;
TREXSLICE_SLICE_OBTAIN = 5010;
TREXSLICE_NO_SNAPS_AVAILABLE = 5011;
TREXSLICE_PLATFORM_MISMATCH = 5012;
TREXSLICE_COMMUNICATION_ERROR = 5013;
TREXSLICE_DELETE_INDEX_ABORT = 5014;
TREXSLICE_TWO_PHASE_ERROR = 5015;
TREXSLICE_ALREADY_PREPARED = 5016;

/* -------------------- NameServer -------------------- */


NAMESERVER_COMMUNICATION_ERROR = 5500;
NAMESERVER_PROPERTY_NOT_FOUND = 5501;
NAMESERVER_WRONG_ARGUMENTS = 5502;
NAMESERVER_PROCESS_REQUEST_FAILED = 5503;
NAMESERVER_ACTIVATION_ERROR = 5504;
NAMESERVER_DEACTIVATION_ERROR = 5505;
NAMESERVER_NO_ACTIVE_HOST = 5506;
NAMESERVER_ENTITY_EXISTS = 5507;
NAMESERVER_NO_SERVERS = 5508;
NAMESERVER_NO_ACTIVE_SERVER = 5509;
NAMESERVER_CANNOT_GET_SLICE_NO = 5510;
NAMESERVER_UNKNOWN_ERROR = 5511;
NAMESERVER_WRONG_MODIFY_ACTION = 5512;
NAMESERVER_INTERNAL_ERROR = 5513;
NAMESERVER_MODIFY_ERROR = 5514;
NAMESERVER_CONTAINER_ERROR = 5515;
NAMESERVER_BACKUP_IS_ACTIVE = 5516;
NAMESERVER_SHM_NOT_SUPPORTED = 5517;
NAMESERVER_TRIGGER_ERROR = 5518;
NAMESERVER_ENTITY_DOES_NOT_EXIST = 5519;
NAMESERVER_IPC_FATAL_ERROR = 5520;
NAMESERVER_COMMUNICATION_TIMEOUT = 5521;
NAMESERVER_NO_FREE_CAPACITY = 5522;
NAMESERVER_MASTERINDEX_READONLY = 5523;
NAMESERVER_MASTERINDEX_SOONBACK = 5524;
NAMESERVER_AUTHENTICATION_REQUIRED = 5525;
NAMESERVER_PYTHON_ERROR = 5526;
NAMESERVER_PLAN_NOT_FOUND = 5527;
NAMESERVER_PLAN_ACTIVE = 5528;
NAMESERVER_RESET_LANDSCAPE_ACTIVE = 5529;
NAMESERVER_NO_REBOOT_PRIVILEGE = 5530;

/* -------------------- QueueServer -------------------- */

QUEUESERVER_NO_QUEUES_IN_SERVER = 6000;
QUEUESERVER_INDEX_NOT_FOUND = 6001;
QUEUESERVER_QUEUE_NOT_FOUND = 6002;
QUEUESERVER_DOCUMENT_NOT_FOUND = 6003;
QUEUESERVER_NO_CONNECTION_TO_INDEX = 6004;
QUEUESERVER_INDEXING_RUNNING = 6005;
QUEUESERVER_OPTIMIZE_RUNNING = 6006;
QUEUESERVER_INDEXING_FAILED = 6007;
QUEUESERVER_OPTIMIZE_FAILED = 6008;
QUEUESERVER_NO_CONNECTION_TO_QUEUESERVER = 6009; // QueueClient only
QUEUESERVER_DOCUMENT_MISSING_PARAMETER = 6010;
QUEUESERVER_DOCUMENT_WRONG_PARAMETER = 6011;
QUEUESERVER_DOCUMENT_COULD_NOT_BE_INDEXED = 6012;
QUEUESERVER_DOCUMENT_COULD_NOT_BE_DEINDEXED = 6013;
QUEUESERVER_SCHEDULE_TIME_WRONG = 6014;
QUEUESERVER_URL_NOT_VALID = 6015;
QUEUESERVER_WRONG_PARAMETER = 6016;
QUEUESERVER_QUEUE_NOT_DELETED = 6017;
QUEUESERVER_SERVER_EXCEPTION = 6018;
QUEUESERVER_COMMUNICATION_ERROR = 6019;
QUEUESERVER_UNKNOWN_REQUEST = 6020;
QUEUESERVER_QUEUE_EXISTS = 6021;
QUEUESERVER_TRUNCATED = 6022;
QUEUESERVER_INVALID_DOCUMENT = 6023;
QUEUESERVER_INCONSISTENT_DATA = 6024;
QUEUESERVER_DOCUMENT_COULD_NOT_BE_REMOVED = 6025;
QUEUESERVER_DOCUMENT_ALREADY_INDEXED = 6026;
QUEUESERVER_DOC_STATUS_NOT_RETURNED = 6027;
QUEUESERVER_SHUTDOWN = 6028;
QUEUESERVER_PROTOCOL_MISMATCH = 6029;
QUEUESERVER_QUEUE_NOT_CLEARED = 6030;
QUEUESERVER_QUEUE_NOT_CLOSED = 6031;
QUEUESERVER_BUNDLE_NOT_FOUND = 6032;
QUEUESERVER_BUNDLECLOSED = 6033;
QUEUESERVER_BACKUPFAILED = 6034;
QUEUESERVER_RESTOREFAILED = 6035;

QUEUESERVER_HTTP_100 = 6100;
QUEUESERVER_HTTP_101 = 6101;
QUEUESERVER_HTTP_201 = 6201;
QUEUESERVER_HTTP_202 = 6202;
QUEUESERVER_HTTP_203 = 6203;
QUEUESERVER_HTTP_204 = 6204;
QUEUESERVER_HTTP_205 = 6205;
QUEUESERVER_HTTP_206 = 6206;
QUEUESERVER_HTTP_300 = 6300;
QUEUESERVER_HTTP_301 = 6301;
QUEUESERVER_HTTP_302 = 6302;
QUEUESERVER_HTTP_303 = 6303;
QUEUESERVER_HTTP_304 = 6304;
QUEUESERVER_HTTP_305 = 6305;
QUEUESERVER_HTTP_307 = 6307;
QUEUESERVER_HTTP_400 = 6400;
QUEUESERVER_HTTP_401 = 6401;
QUEUESERVER_HTTP_402 = 6402;
QUEUESERVER_HTTP_403 = 6403;
QUEUESERVER_HTTP_404 = 6404;
QUEUESERVER_HTTP_405 = 6405;
QUEUESERVER_HTTP_406 = 6406;
QUEUESERVER_HTTP_407 = 6407;
QUEUESERVER_HTTP_408 = 6408;
QUEUESERVER_HTTP_409 = 6409;
QUEUESERVER_HTTP_410 = 6410;
QUEUESERVER_HTTP_411 = 6411;
QUEUESERVER_HTTP_412 = 6412;
QUEUESERVER_HTTP_413 = 6413;
QUEUESERVER_HTTP_414 = 6414;
QUEUESERVER_HTTP_415 = 6415;
QUEUESERVER_HTTP_416 = 6416;
QUEUESERVER_HTTP_417 = 6417;
QUEUESERVER_HTTP_500 = 6500;
QUEUESERVER_HTTP_501 = 6501;
QUEUESERVER_HTTP_502 = 6502;
QUEUESERVER_HTTP_503 = 6503;
QUEUESERVER_HTTP_504 = 6504;
QUEUESERVER_HTTP_505 = 6505;

/*
* Number range 66xx reserved for LEXICON errors
*/

LEXICON_ERROR_6600 = 6600; /* CAN'T OPEN LEXICON */


LEXICON_ERROR_6601 = 6601; /* PARAMETER ERROR */
LEXICON_ERROR_6602 = 6602; /* CONFIG ERROR */
LEXICON_ERROR_6603 = 6603; /* MEMORY ERROR */
LEXICON_ERROR_6604 = 6604; /* UNKNOWN GENERATOR */
LEXICON_ERROR_6605 = 6605; /* WRONG GENERATOR FOR FUNCTION */
LEXICON_ERROR_6606 = 6606; /* ASSERTION FAILURE */
LEXICON_ERROR_6607 = 6607; /* FILE NOT FOUND */
LEXICON_ERROR_6608 = 6608; /* RESOURCE LOAD FAILURE */
LEXICON_ERROR_6609 = 6609; /* SYMBOL OUTSIDE ALPHABET */
LEXICON_ERROR_6610 = 6610; /* RESOURCE ABSENT */
LEXICON_ERROR_6611 = 6611; /* RESOURCE MANGLED */
LEXICON_ERROR_6612 = 6612; /* RESOURCE MISMATCH */
LEXICON_ERROR_6613 = 6613; /* RESOURCE WRONG SYNTAX */
LEXICON_ERROR_6614 = 6614; /* RESOURCE UNSPECIFIED */
LEXICON_ERROR_6615 = 6615; /* UNKNOWN CODEPAGE */
LEXICON_ERROR_6616 = 6616; /* UNKNOWN LANGUAGE */
LEXICON_ERROR_6617 = 6617; /* CP CONVERSION ERROR */
LEXICON_ERROR_6618 = 6618; /* GENERAL FAILURE */
LEXICON_ERROR_6619 = 6619; /* UNKNOWN ENCODING */
LEXICON_ERROR_6620 = 6620; /* UNBALANCED MARKUP */
LEXICON_ERROR_6621 = 6621; /* LEX_OTHER_ERROR */
LEXICON_ERROR_6622 = 6622; /* LEX_ENCODING_NOT_SUPPORTED */
LEXICON_ERROR_6623 = 6623; /* LEX_ENCODING_NOT_DECLARED */
LEXICON_ERROR_6624 = 6624; /* LEX_INCONSISTENT_ENCODING_SETTING */
LEXICON_ERROR_6625 = 6625; /* LEX_UNKNOWN_FORMAT */
LEXICON_ERROR_6626 = 6626; /* LEX_HTML_WRONG_SYNTAX */
LEXICON_ERROR_6627 = 6627; /* LEX_LICENSE_ERROR */
LEXICON_ERROR_6628 = 6628; /* LEX_TIMEOUT */

/* -------------------- from python -------------------- */


PW_ERRCODE_NOT_AVAILABLE = 6701;

/* -------------------- Preprocessor -------------------- */


PREPROCESSOR_FAILED = 6800;
PREPROCESSOR_INCONSISTENT_DATA = 6801;
PREPROCESSOR_EXCEPTION = 6802;
PREPROCESSOR_INVALID_INPUT_DOCUMENT = 6803;
PREPROCESSOR_INVALID_OUTPUT_DOCUMENT = 6804;
PREPROCESSOR_DOC_NOT_CHANGED = 6805; // this is not an error
PREPROCESSOR_FILTER_ERROR = 6806;
PREPROCESSOR_NOT_REACHABLE = 6807;
PREPROCESSOR_ACTIVITY_ERROR = 6808;
PREPROCESSOR_COMMUNICATION_ERROR = 6809;
PREPROCESSOR_PROTOCOL_MISMATCH = 6810;
PREPROCESSOR_REQUEST_CANCELED = 6811;

/* -------------------- attribute engine -------------------- */


AERC_FAILED = 6900;
AERC_NOT_IMPLEMENTED = 6901;
AERC_ATTRIBUTE_EXISTS = 6902;
AERC_CREATE_FAILED = 6903;
AERC_UNDEFINED = 6904;
AERC_INDEX_EXISTS = 6905;
AERC_INDEX_NOT_FOUND = 6906;
AERC_INDEX_NOT_OPEN = 6907;
AERC_ATTRIBUTE_NOT_OPEN = 6908;
AERC_ATTRIBUTE_ID_MISSING = 6909;
AERC_INDEX_ID_MISSING = 6910;
AERC_ILLEGAL_SORT = 6911;
AERC_INDEXDIR_MISSING = 6912;
AERC_DOCUMENT_NOT_FOUND = 6913;
AERC_UNKNOWN_OPERATOR = 6914;
AERC_UNKNOWN_ATTRIBUTE = 6915;
AERC_OPTIMIZE_FAILED = 6916;
AERC_CONTAININGDIR_MISSING = 6917;
AERC_CANNOT_CREATEDIR = 6918;
AERC_DELETE_INDEX_FAILED = 6919;
AERC_NO_DATA_PATH = 6920;
AERC_DIRREAD_FAILED = 6921;
AERC_LOAD_FAILED = 6923;
AERC_SAVE_FAILED = 6924;
AERC_WRONG_MAGIC_NUMBER = 6925;
AERC_UNSUPPORTED_FILE_VERSION = 6926;
AERC_ITERATION_IMPOSSIBLE = 6927;
AERC_RESULTDOCS_REQUIRED = 6928;
AERC_UNSUPPORTED_ATTRIBUTE_TYPE = 6929;
AERC_NUMBER_SYNTAX = 6930;
AERC_DATE_SYNTAX = 6931;
AERC_DATE_PRECISION_MISMATCH = 6932;
AERC_NO_SINGLE_VALUE = 6933;
AERC_WRONG_OPERAND_COUNT = 6934;
AERC_ESTIMATION_IMPOSSIBLE = 6935;
AERC_MEMINDEX_NOT_SUPPORTED = 6936;
AERC_DELETE_FILE_FAILED = 6937;
AERC_RENAME_FILE_FAILED = 6938;
AERC_NOT_PREPARED = 6939;
AERC_NO_INDEX = 6940;
AERC_ATTRIBUTE_TYPE = 6941;
AERC_VALUE_SYNTAX = 6942;
AERC_INVALID_BINARY_SIZE = 6943;
AERC_OVERFLOW = 6944;
AERC_FILE_NOT_OPEN = 6945;
AERC_FILE_READ_ERROR = 6946;
AERC_FILE_WRITE_ERROR = 6947;
AERC_CANNOT_OPEN_FILE = 6948;
AERC_NO_EXTEND_RANGE = 6949;
AERC_UPDATES_PENDING = 6950;
AERC_ATTRIBUTE_IN_USE = 6951;
AERC_MEMORY_ERROR = 6952;

/*
* Number range 7xxx reserved for Java codes
*/

/*
* Number range 8xxx reserved for ni codes
*/

NIRC_ERROR_8001 = 8001; /* -1 Ni-internal Error */


NIRC_ERROR_8002 = 8002; /* -2 Unknown Hostname
*/
NIRC_ERROR_8003 = 8003; /* -3 Unknow Service
*/
NIRC_ERROR_8004 = 8004; /* -4 Service already used
*/
NIRC_ERROR_8005 = 8005; /* -5 Timeout reached
*/
NIRC_ERROR_8006 = 8006; /* -6 Lost Connection to peer .
*/
NIRC_ERROR_8007 = 8007; /* -7 Data-area to small
*/
NIRC_ERROR_8008 = 8008; /* -8 Invalid Parameter
*/
NIRC_ERROR_8009 = 8009; /* -9 Wake-Up (without data)
*/
NIRC_ERROR_8010 = 8010; /* -10 Creating connection failed
*/
NIRC_ERROR_8011 = 8011; /* -11 Got PING/PONG-Signal
*/
NIRC_ERROR_8012 = 8012; /* -12 Connection to peer via NiRouter not
yet established */
NIRC_ERROR_8013 = 8013; /* -13 Invalid Version
*/
NIRC_ERROR_8014 = 8014; /* -14 Couldn't determine own Hostname */
NIRC_ERROR_8015 = 8015; /* -15 No free port within range
*/
NIRC_ERROR_8016 = 8016; /* -16 own hostname invalid
*/
NIRC_ERROR_8017 = 8017; /* -17 Error in SNC layer within saprouter
==> */
NIRC_ERROR_8018 = 8018; /* -18 Opcode received
*/
NIRC_ERROR_8019 = 8019; /* -19 Queue limit reached, following paket
will be rejected */
NIRC_ERROR_8020 = 8020; /* -20 Requested paket to big
*/
NIRC_ERROR_8021 = 8021; /* -21 Accepted handle pending
*/
NIRC_ERROR_8022 = 8022; /* -22 Handle passed to other process
*/
NIRC_ERROR_8023 = 8023; /* -23 Peer didn't answer
*/
NIRC_ERROR_8030 = 8030;
NIRC_ERROR_8090 = 8090; /* -90 Hostname unknown
*/
NIRC_ERROR_8091 = 8091; /* -91 Service unknown
*/
NIRC_ERROR_8092 = 8092; /* -92 Creating connection failed
*/
NIRC_ERROR_8093 = 8093; /* -93 NI-internal error
*/
NIRC_ERROR_8094 = 8094; /* -94 Connect from Source to Destination
forbidden */
NIRC_ERROR_8095 = 8095; /* -95 Connection lost
*/
NIRC_ERROR_8096 = 8096; /* -96 Invalid Client-Version
*/
NIRC_ERROR_8097 = 8097; /* -97 Connection cancelled by
Administrator */
NIRC_ERROR_8098 = 8098; /* -98 saprouter shutdown
*/
NIRC_ERROR_8099 = 8099; /* -99 Informations Request rejected
*/
NIRC_ERROR_8100 = 8100; /* -100 max. number of Clients reached
*/
NIRC_ERROR_8101 = 8101; /* -101 talkmode not allowed */
NIRC_ERROR_8102 = 8102; /* -102 client not available */
NIRC_ERROR_8103 = 8103; /* -103 error in external library */
NIRC_ERROR_8104 = 8104; /* -104 error in SNC layer
*/
NIRC_ERROR_8200 = 8200; /* -200 Unknown exception in Reader::Request
*/
NIRC_ERROR_8201 = 8201; /* -201 timeout while reading data */
NIRC_ERROR_8202 = 8202; /* -202 Couldn't stop monitoring thread */
NIRC_ERROR_8401 = 8401; /* -401 internal error:Unknown exception
*/
NIRC_ERROR_8402 = 8402; /* -402 unkown TCP/IP protocol */
NIRC_ERROR_8403 = 8403; /* -403 error in HTTP header */
NIRC_ERROR_8404 = 8404; /* -404 timeout occured */
NIRC_ERROR_8405 = 8405; /* -405 error while terminating thread
*/

/*
* Number range 9xxx reserved for TrexTextMining return codes (TMRC)
*/

TMRC_INDEX_NOT_FOUND = 9001;
TMRC_FILE_NOT_FOUND = 9002;
TMRC_FILE_ERROR = 9003;
TMRC_INDEX_EMPTY = 9004;
TMRC_INVALID_PARAMETER = 9005;
TMRC_INVALID_DOCUMENT = 9006;
TMRC_INVALID_INI_FILE = 9007;
TMRC_ILLEGAL_OPERATION = 9008;
TMRC_NO_MEMORY = 9009;
TMRC_NO_DISKSPACE = 9010;
TMRC_INDEX_LOCKED = 9011;
TMRC_OTHER_ERROR = 9012;
TMRC_INVALID_INDEX = 9013;
TMRC_INVALID_OBJECT = 9014;
TMRC_INVALID_ATTRIBUTE = 9015;
TMRC_INVALID_VALUE = 9016;
TMRC_INVALID_TERM = 9017;
TMRC_INDEX_CORRUPTED = 9018;
TMRC_INITIALIZATION_ERROR = 9019;
TMRC_INSUFFICIENT_DOCUMENTS = 9020;
TMRC_ATTRIBUTE_ENGINE_ERROR = 9021;
TMRC_DOCUMENT_TOO_BIG = 9022;
TMRC_EMPTY_DOCUMENT = 9023;

/*
* Number range 10xxx - 12xxx reserved for IIS codes
*/

/*
* Number range 13xxx reserved for proxy codes
*/
PROXY_RC_13100 = 13100; /* 100 Continue */
PROXY_RC_13101 = 13101; /* 101 SwitchingProtocols */
PROXY_RC_13200 = 13200; /* 200 OK */
PROXY_RC_13201 = 13201; /* 201 Created */
PROXY_RC_13202 = 13202; /* 202 Accepted */
PROXY_RC_13203 = 13203; /* 203 Non-AuthoritativeInformation */
PROXY_RC_13204 = 13204; /* 204 NoContent */
PROXY_RC_13205 = 13205; /* 205 ResetContent */
PROXY_RC_13206 = 13206; /* 206 PartialContent */
PROXY_RC_13300 = 13300; /* 300 MultipleChoices */
PROXY_RC_13301 = 13301; /* 301 MovedPermanently */
PROXY_RC_13302 = 13302; /* 302 Found */
PROXY_RC_13303 = 13303; /* 303 SeeOther */
PROXY_RC_13304 = 13304; /* 304 NotModified */
PROXY_RC_13305 = 13305; /* 305 UseProxy */
PROXY_RC_13307 = 13307; /* 307 TemporaryRedirect */
PROXY_RC_13400 = 13400; /* 400 BadRequest */
PROXY_RC_13401 = 13401; /* 401 Unauthorized */
PROXY_RC_13402 = 13402; /* 402 PaymentRequired */
PROXY_RC_13403 = 13403; /* 403 Forbidden */
PROXY_RC_13404 = 13404; /* 404 NotFound */
PROXY_RC_13405 = 13405; /* 405 MethodNotAllowed */
PROXY_RC_13406 = 13406; /* 406 NotAcceptable */
PROXY_RC_13407 = 13407; /* 407 ProxyAuthenticationRequired */
PROXY_RC_13408 = 13408; /* 408 RequestTime-out */
PROXY_RC_13409 = 13409; /* 409 Conflict */
PROXY_RC_13410 = 13410; /* 410 Gone */
PROXY_RC_13411 = 13411; /* 411 LengthRequired */
PROXY_RC_13412 = 13412; /* 412 PreconditionFailed */
PROXY_RC_13413 = 13413; /* 413 RequestEntityTooLarge */
PROXY_RC_13414 = 13414; /* 414 Request-URITooLarge */
PROXY_RC_13415 = 13415; /* 415 UnsupportedMediaType */
PROXY_RC_13416 = 13416; /* 416 Requestedrangenotsatisfiable */
PROXY_RC_13417 = 13417; /* 417 ExpectationFailed */
PROXY_RC_13500 = 13500; /* 500 proxy: Hostname unknown */
PROXY_RC_13501 = 13501; /* 501 NotImplemented */
PROXY_RC_13502 = 13502; /* 502 BadGateway */
PROXY_RC_13503 = 13503; /* 503 ServiceUnavailable */
PROXY_RC_13504 = 13504; /* 504 GatewayTime-out */
PROXY_RC_13505 = 13505; /* 505 HTTP Version not supported */

/*
* Number range 14xxx - 15xxx reserved for filter codes
*/
/*
14000 0 No error
14001 1 The passed or generated file ID is invalid
14002 2 The filter DLL for this file type could not be loaded.
14003 3 The filter DLL could not allocate enough memory
14004 4 No filter available for this file type
14005 5 The display window could not be initialized
14006 6 The chunker (SCCCH.DLL) could not be initialized
14007 7 The file could not be opened
14008 8 An unknown error has occurred
14009 9 The file is corrupt
14010 10 The file is empty
14011 11 The file is password protected or encrypted
14012 12 The filter could not open additional files needed to view
14013 13 Not enough memory for an allocation
14014 14 The file is in an unsupported format
14015 15 One or more of the passed in parameters is invalid
14016 16 No file is currently open
14017 17 This feature is not supported in this build
14018 18 An unknown error has occurred
14019 19 A display engine is not available for this file type
14020 20 User cancelled
14021 21 Module has not yet been initialized
14022 22 Page just drawn is the last in the file
14023 23 Requested page doesn't exist or isn't yet available
14024 24
14025 25 The requested item could not be found
14026 26
14027 27 Filter timed out
14028 28 SCCVW_MACINIT message process failed
14029 29 Another print process is already in progress
14030 30 Insufficient memory to perform the operation
14031 31 Unexpected EOF in file
14032 32 User aborted or exception trapped
14033 33 Character mapping routines failed
14034 34 Error while creating file
14035 35
14036 36 Viewer bailed out
14037 37
14038 38 File has changed unexpectedly
14039 39 Exception in filter: access violation
14040 40 Exception in filter: divide by zero
14041 41 Exception in filter: other exception
14042 42 Filter failed scramble test
14043 43 Bitmap tile size exceeded maximum
14044 44 RFA remote data error
14045 45 The requested data is not yet available
14046 46 The provided buffer is not large enough to contain the
result
14047 47 Error writing to file
14048 48 A memory leak was detected
14050 50 The callback function was not handled or does not exist
14128 128 Operating system generated error
14129 129 Process creation error
14130 130 Process destruction error
14131 131 Process exceeded its allotted run time.
14132 132 Assertion failure
14133 133 Generated by UTDEBUGERROR macro
14134 134 No changes were made
14135 135 Failed to open display (XOpenDisplay failed)
14136 136 Data sent was recognized, but in an unexpected format
14256 256
14257 257
14258 258
14259 259
14260 260
14320 320 File handle is invalid
14321 321
14322 322
14323 323
14324 324 The requested record has been deleted
14325 325 The specified path does not exist
14326 326 The specified spec is not valid.
14327 327 dwInfoID parameter to IOGetInfo() was invalid
14328 328
14960 960 An exception has occurred
14961 961 Access violation
14962 962 Breakpoint encountered
14963 963 Data misalignment
14964 964 Trace trap single step indicated
14965 965 Out of bounds array element referenced
14966 966 Floating point value is denormal
14967 967 Floating point divide by zero
14968 968 Result cannot be represented as decimal fraction
14969 969 General floating point exception
14970 970 Floating point exponent overflow
14971 971 Floating point stack underflow or overflow
14972 972 Floating point exponent underflow
14973 973 Integer divide by zero
14974 974 Integer overflow
14975 975 Priveleged instruction
14976 976 A noncontinuable exception has occurred
14977 977 Unknown exception type
15024 1024 The requested test is not available
15025 1025 The test timed out
15026 1026 Unable to create binary file
15027 1027 Unable to open binary file
15028 1028 Unable to write to binary file
15029 1029 Unable to read from binary file
15030 1030 Unable to open dump file
15031 1031 Chunker compare failed
15032 1032 Chunkers had different run counts
15033 1033 Chunkers had different run sizes
15034 1034 Chunker failure
15035 1035 Chunker run count overflow
15036 1036 General Compression failure
15037 1037 General stream bailout
15038 1038
15039 1039 Test is complete
15040 1040
15041 1041 A baseline file was not found for a compare file
15042 1042 A compare file was not found for a baseline file
15056 1056 Technology is not available
15057 1057 Both the baseline and compare files are empty
15280 1280 Received an unexpected response
15281 1281 Communications timeout
15282 1282 General communications error
15283 1283 Connection refused
15284 1284 Communications fault
15285 1285 Host or network is down
15286 1286 Host or network is unreachable
15287 1287 Unexpected disconnection
15288 1288 Synchronization error
15536 1536 First HX error code
15536 1536 General error has occured [U]
15537 1537 Element specified does not conform to the parse tree
structure
15538 1538 an integer or current/next/previous token was expected
15539 1539 no error [U]
15540 1540
15540 1540 {## /xx} tag not found
15541 1541
15541 1541 start brace "{" expected and not found [U]
15542 1542 equal sign "=" expected and not found
15543 1543
15543 1543 end brace "}" expected and not found
15544 1544 Error parsing "ACTION = "statements [U]
15545 1545
15545 1545 section not found
15546 1546 Error parsing "ELEMENT = " statement
15547 1547 Error parsing "LINK = " statement [U]
15548 1548 Error parsing "TAG = " statement [U]
15549 1549 Error parsing "TEMPLATE = " statement
15550 1550 Error parsing "TYPE = " statement
15551 1551 Error parsing "NAME = " statement [U]
15552 1552 Error parsing "ACTION = DEFINE" statement [U]
15553 1553 Error in document data
15554 1554 Error parsing GENLINK statement
15555 1555 Error parsing INSERT statement
15556 1556 Error parsing REPEAT statement
15557 1557 Error in tree transition Element [U]
15558 1558 Error in allocating memory in MiscBuffer [U]
15559 1559 Error - invalid command [U]
15560 1560 Invalid error number [U]
15561 1561 Error in converting document element [U]
15562 1562 Error writing normal text from input file to an output file
[U]
15563 1563 Error writing parser-generated HTML text to an output file
[U]
15564 1564 Error opening template file
15565 1565 Error opening output file [U]
15566 1566 No {## /repeat} tag found
15567 1567 No {## /if} tag found
15568 1568 No {## /ignore} tag found
15569 1569 Element specified in repeat is non-repeatable element
15570 1570 Repeat element ended on the index [U]
15571 1571 If element ended on the index [U]
15572 1572 Insert element ended on the index [U]
15573 1573 No element was given
15574 1574 Invalid ## tag [U]
15575 1575
15575 1575 End {## /..} with no corresponding start {## ..}
15576 1576 Document type given is not valid
15577 1577 No value given for sections.x.type
15578 1578 No condition given or missing '}'
15579 1579 Invalid parameter in ## link macro
15580 1580 Missing all parameters to link macro
15581 1581 Count or Value element can only be followed by '}'
15582 1582 {## else} not preceded by {## if...}
15583 1583 Invalid parameter in if condition
15584 1584 The creation of the default template failed.
15585 1585 The element exceeded the maximum allowable number of
elements
15586 1586 No type was given for sections.x.type
15587 1587 The element is a custom element. Basically, this is a flag.
15588 1588 {## elseif} not preceded by {## if...}
15589 1589 Pragma.CSSFile required and not present
15590 1590 Invalid anchor value
15591 1591 Invalid label value
15592 1592 Template-generated text exceeds the deck size
15593 1593 Macro not supported in this HTML flavor
15594 1594 Internal Export Filter Error
15595 1595 Error parsing the template
15596 1596 Error generating output file
15597 1597 Internal element tree error
15598 1598 Internal preview document error
15599 1599 Internal process document error
15600 1600 Non-fatal error: we've reached the insertion truncation
limit
15601 1601 {## repeat} statement found in unit header or footer
15602 1602 this template cannot be used with a nonzero deck size
15603 1603 invalid attribute
15604 1604 invalid or missing attribute value
15605 1605 malformed unit - check for matching header and footer tags
15606 1606 Text buffer size is too small
15607 1607 Buffer size is too small to export graphics
15608 1608 Internal export memory utility error
15609 1609 Internal export list management error
15610 1610 Internal export para error
15611 1611 Internal export style error
15612 1612 Internal export table error
15613 1613 Internal export tags error
15614 1614 Internal export graphics error
15615 1615 Non-fatal error: we've reached the grid cell truncation
limit
*/

/*
* Number range 16xxx reserved for sssl codes
*/

SSL_RC_ERROR_16001 = 16001; /* -1 LIB_NOT_FOUND */


SSL_RC_ERROR_16002 = 16002; /* -2 INCOMPATIBLE_LIB */
SSL_RC_ERROR_16003 = 16003; /* -3 LIBINIT_FAILED */
SSL_RC_ERROR_16004 = 16004; /* -4 OUT_OF_MEMORY */
SSL_RC_ERROR_16005 = 16005; /* -5 FUNC_ARGS */
SSL_RC_ERROR_16006 = 16006; /* -6 INIT_FIRST */
SSL_RC_ERROR_16007 = 16007; /* -7 NOT_YET_IMPLEMENTED */
SSL_RC_ERROR_16008 = 16008; /* -8 INTERNAL_BUG */
SSL_RC_ERROR_16009 = 16009; /* -9 UNKNOWN_BEHAVIOUR */
SSL_RC_ERROR_16010 = 16010; /* -10 CONN_CLOSED */
SSL_RC_ERROR_16011 = 16011; /* -11 SERVER_ONLY */
SSL_RC_ERROR_16012 = 16012; /* -12 CLIENT_ONLY */
SSL_RC_ERROR_16013 = 16013; /* -13 NO_CONTEXT_YET */
SSL_RC_ERROR_16014 = 16014; /* -14 BAD_SSSL_HDL */
SSL_RC_ERROR_16015 = 16015; /* -15 BAD_AUTH_TYPE */
SSL_RC_ERROR_16016 = 16016; /* -16 BAD_ROLE */
SSL_RC_ERROR_16017 = 16017; /* -17 SESSION_NOT_STARTED */
SSL_RC_ERROR_16018 = 16018; /* -18 SESSION_ALREADY_STARTED */
SSL_RC_ERROR_16019 = 16019; /* -19 PEER_INFO_FAILED */
SSL_RC_ERROR_16020 = 16020; /* -20 NO_CLIENT_CERT */
SSL_RC_ERROR_16021 = 16021; /* -21 NO_SERVER_CERT */
SSL_RC_ERROR_16022 = 16022; /* -22 SAPPARAM_MISSING */
SSL_RC_ERROR_16023 = 16023; /* -23 NEED_NI_HDL */
SSL_RC_ERROR_16024 = 16024; /* -24 BAD_NI_HDL */
SSL_RC_ERROR_16025 = 16025; /* -25 NO_SSL_REQUEST */
SSL_RC_ERROR_16026 = 16026; /* -26 HTTP_REQUEST */
SSL_RC_ERROR_16027 = 16027; /* -27 HTTPS_PROXY_REQUEST */
SSL_RC_ERROR_16028 = 16028; /* -28 MISSING_TARGET_HOSTNAME */
SSL_RC_ERROR_16029 = 16029; /* -29 THREAD_MALFUNCT */
SSL_RC_ERROR_16030 = 16030; /* -30 SERVER_CERT_MISMATCH */
SSL_RC_ERROR_16040 = 16040; /* -40 PSE_ERROR */
SSL_RC_ERROR_16041 = 16041; /* -41 FILENAME_TRUNCATED */
SSL_RC_ERROR_16042 = 16042; /* -42 CRED_NOT_FOUND */
SSL_RC_ERROR_16043 = 16043; /* -43 NOT_SUPPORTED_BY_SECUDE */
SSL_RC_ERROR_16044 = 16044; /* -44 NOT_IMPLEMENTED_SERVER */
SSL_RC_ERROR_16045 = 16045; /* -45 NOT_IMPLEMENTED_CLIENT */
SSL_RC_ERROR_16050 = 16050; /* -50 CERT_FILE */
SSL_RC_ERROR_16051 = 16051; /* -51 PRIVKEY_FILE */
SSL_RC_ERROR_16052 = 16052; /* -52 CERT_PRIVKEY_MISMATCH */
SSL_RC_ERROR_16053 = 16053; /* -53 SSL_SET_SSL_METHOD */
SSL_RC_ERROR_16054 = 16054; /* -54 SSLCTX_NEW */
SSL_RC_ERROR_16055 = 16055; /* -55 SSL_NEW */
SSL_RC_ERROR_16056 = 16056; /* -56 SSL_ACCEPT */
SSL_RC_ERROR_16057 = 16057; /* -57 SSL_CONNECT */
SSL_RC_ERROR_16058 = 16058; /* -58 SSL_READ */
SSL_RC_ERROR_16059 = 16059; /* -59 SSL_WRITE */
SSL_RC_ERROR_16080 = 16080; /* -80 BAD_X500DN_IN_CERT */
SSL_RC_ERROR_16200 = 16200; /* -200 Unknown exception in Reader::Request
*/
SSL_RC_ERROR_16201 = 16201; /* -201 timeout while reading data */
SSL_RC_ERROR_16202 = 16202; /* -202 Couldn't stop monitoring thread */

/*
* Number range 20xxx reserved for wrapper codes
*/

WRAPPER_FAILED = 20001;
WRAPPER_NOT_REACHABLE = 20002;
WRAPPER_ACTIVITY_ERROR = 20003;
WRAPPER_INVALID_OUTPUT_DOCUMENT = 20004;
WRAPPER_DOC_NOT_CHANGED = 20005;
WRAPPER_INCONSISTENT_DATA = 20006;
WRAPPER_PROTOCOL_MISMATCH = 20007;
WRAPPER_COMMUNICATION_ERROR = 20008;
/* ------------------------------------------- */

/*
* Number range 21xxx reserved for cruiser codes
*/

CRUISER_URL_RETRY = 21001; /* 1 Retry processing of url */


CRUISER_URL_DELETE = 21002; /* 2 Delete the url from cruiser */
CRUISER_URL_HTTPGETNOTDONE = 21003; /* 3 URL not fetched */
CRUISER_INDEXDOC_MODIFIED = 21004; /* 4 IndexDocument modified */
CRUISER_UNKNOWN_CODE = 21009; /* 9 unkown/unsupported error code */
CRUISER_INDEXID_DOESNOT_EXIST = 21010 ; /*Specified IndexId doesnot exist*/
CRUISER_INVALID_CRUISE_NAME=21011;
CRUISER_SERVER_NOT_FOUND=21012;
CRUISER_SUSPEND_CRUISE_FAILED=21013;
CRUISER_CRUISE_NOT_EXISTS=21014;
CRUISER_TREXNET_EXCEPTION=21015;
CRUISER_GENERAL_EXCEPTION=21016;
CRUISER_CRUISE_ALREADY_EXISTS=21017;
CRUISER_CRUISE_SAVE_ERROR=21018;
CRUISER_THREAD_INITIALIZATION_FAILURE=21019;
CRUISER_INVALID_RUN_MODE=21020;
CRUISER_RESUME_CRUISE_FAILED=21021;
CRUISER_LIST_CRUISES_FAILED=21022;
CRUISER_CLIENT_GENERAL_EXCEPTION=21023;
CRUISER_URL_YET_TO_BE_VISITED=21024;
CRUISER_URL_ALREADY_VISITED=21025;
CRUISER_INVALID_INPUT_GETURLINFOS=21026;
CRUISER_LOCK_ACQUIRING_FAILED=21027;
CRUISER_INVALID_POOLSIZE=21028;
CRUISER_UPDATE_CRUISE_FAILED=21029;
CRUISER_MAGIC_URL_ERROR_CODE_PROTECTED=21030;
CRUISER_URL_DOESNOT_EXIST=21031;
CRUISER_URL_INVALID=21032;
/*
* Number range 22xxx reserved for R3Scheduler codes
*/
R3SCHEDULER_INVALID_SCHEDULERTASK_NAME = 22001;
R3SCHEDULER_LIST_SCHEDULERTASKS_FAILED = 22002;
R3SCHEDULER_REPLNRULE_ALREADY_EXISTS = 22003;
R3SCHEDULER_REPLNRULE_FREQUENCY_ZERO = 22004;
R3SCHEDULER_SERVER_NOT_FOUND = 22005;
R3SCHEDULER_REPLNSTORE_DELETE_ERROR = 22006;
R3SCHEDULER_REPLNRULE_NOT_EXISTS = 22007;
R3SCHEDULER_REPLNRULE_OBJECT_NULL = 22008;
R3SCHEDULER_READLOCK_ACQUIRE_ERROR = 22009;
R3SCHEDULER_SCHEDULABLE_NOT_EXISTS = 22010;
R3SCHEDULER_SCHEDULABLE_ALREADY_EXISTS = 22011;
R3SCHEDULER_TREXNET_EXCEPTION = 22012;
R3SCHEDULER_GENERAL_EXCEPTION = 22013;
R3SCHEDULER_STARTUPINFO_INVALID = 22014;
R3SCHEDULER_SCHEDULABLE_OBJECT_NULL = 22015;
R3SCHEDULER_NOTHING_TO_UPDATE = 22016;
R3SCHEDULER_CLIENT_GENERAL_EXCEPTION = 22017;

/*
* Number range 23xxx reserved for JOIN codes
*/
JOIN_INVALID_QUERY = 23000;
JOIN_IDX_NOT_PART_OF_LOGICALIDX = 23001;
JOIN_ATTR_NOT_PART_OF_JOIN = 23002;
JOIN_DISTINCT_ATTR_WITH_TEXTATTR = 23003;
JOIN_DISTINCT_SORT_NOT_REQUESTED = 23004;
JOIN_NOT_A_JOIN_INDEX = 23005;
JOIN_COULD_NOT_ASSIGN_PRECONDITIONS = 23006;
JOIN_NOT_CONNECTED = 23007;
JOIN_CANNOT_CREATE_PLAN = 23008;
JOIN_SORT_INDEX_UNKOWN = 23009;
JOIN_SORT_MULTIPLE_INDEXES = 23010;
JOIN_MISSING_LANGUAGE = 23011;
JOIN_METAMODEL_ONLY = 23012;
JOIN_UNKNOWN_VIEWATTR = 23013;
JOIN_SORT_NOT_IN_JOINGRAPH = 23014;
JOIN_MULTIPLE_VIEWS_IN_QUERY = 23015;
JOIN_UNKNOWN_VIEW = 23016;
JOIN_INVALID_SYNCPOINT = 23017;

/*
* Number range 24xxx reserved for AlertMonitor / AlertServer
*/
ALERT_RC_NOT_IMPLEMENTED = 24001;
ALERT_RC_BAD_HTTP_STATUS = 24002;
ALERT_RC_NO_HTTP_RESPONSE = 24003;
ALERT_RC_COMMUNICATION_ERROR = 24004;
ALERT_RC_PARSE_ERROR = 24005;
ALERT_RC_CONFIGURATION_ERROR = 24006;

bool TRexError::getMsg(int code_, _STL::string &message_)


{
static struct ErrorMessage {
int code;
char *message;
} messages[] = {
{ TREX_SAP_OK, "No error"},
{ TREX_SAPRC_DETAILED, "Multiple operation failed, detail is provided
in a list"},
{ TREX_SAPRC_DOCNOTFOUND, "Document to delete/update was not found"},
{ TREX_SAPRC_DUPLIDOC, "Several documents with the same ID exist in
the index"},
{ TREX_SAPRC_INDEXLOCKED, "Index is locked and a time-out occured"},
{ TREX_SAPRC_INDEXCORRUPT, "Index is corrupted. Must be
deleted/repaired by hand"},
{ TREX_SAPRC_MEMORYFULL, "Memory allocation failed"},
{ TREX_SAPRC_NOSPACEFOUND, "Not enough space available for index
creation"},
{ TREX_SAPRC_UNKNOWNLANG, "Specified language is unknown or not
supported"},
{ TREX_SAPRC_DIRCREATFAIL, "Directory creation failed"},
{ TREX_SAPRC_DIRDELFAIL, "Directory removal failed"},
{ TREX_SAPRC_UNKNOWNTYPE, "Unknown or unsupported data type"},
{ TREX_SAPRC_FILEERROR, "An operation has failed on a file (create,
delete, copy, move, ...)"},
{ TREX_SAPRC_INVALIDARG, "A received argument has an invalid value"},
{ TREX_SAPRC_VALUE_TOO_LONG, "A received argument is too long"},
{ TREX_SAPRC_SYSTEMERROR, "Unspecified Win32/Unix system error"},
{ TREX_SAPRC_OPTFAILED_IDX_ROLLBACKED, "Index optimization failed,
index was rollbacked"},
{ TREX_SAPRC_IDXOPTFAILED, "Index optimization failed"},
{ TREX_SAPRC_DOCUMENT_DELAYED, "warning: document is set to delayed
indexing"},
{ TREX_SAPRC_CANNOT_CREATE_INDEX, "error: an index cannot be created"},
{ TREX_SAPRC_ATTRIBUTE_UNKNOWN, "attribute not defined for physical
index" },

// configuration errors
{ TREX_SAPRC_CONFIGURATION_ERROR, "error: general configuration
error"},
{ TREX_SAPRC_FILE_NOT_FOUND, "error: file not found"},
{ TREX_SAPRC_FILE_OPEN_ERROR, "error: file could not be
opened"},
{ TREX_SAPRC_FILE_READ_ERROR, "error: file could not be
read"},
{ TREX_SAPRC_FILE_WRITE_ERROR, "error: file could not be
written"},
{ TREX_SAPRC_SECTION_NOT_FOUND, "error: section not found"},
{ TREX_SAPRC_VALUE_NOT_FOUND, "error: value not found"},
{ TREX_SAPRC_FILE_CREATE_ERROR, "error: file could not be
created"},
{ TREX_SAPRC_FILE_REMOVE_ERROR, "error: file could not be
removed"},
{ TREX_SAPRC_FILE_RENAME_ERROR, "error: file could not be
renamed"},
{ TREX_SAPRC_MASTERNOTACTIVE, "error: master index not
active"},

{ TREX_SAPRC_COMM_FAILED_WITH_PREPROC, "error: communication with


preprocessor failed"},
{ TREX_SAPRC_ROLLBACK_NECCESSARY, "error: extern rollback is
neccessary"},
{ TREX_SAPRC_ROLLBACK_PART_FAILED, "error: rollback of one or
more index parts failed"},

{ TREX_CS_FILE_NOERROR, "no file error"},


{ TREX_CS_FILE_OPENMODENOTACCEPTED, "file open mode not accepted"},
{ TREX_CS_FILE_OPENFAILED, "file open failed"},
{ TREX_CS_FILE_STILLOPEN, "file still open"},
{ TREX_CS_FILE_NOTOPEN, "file not open"},
{ TREX_CS_FILE_LASTOPFAILEDHANDLEOK, "last file open failed but handle
still okay"},
{ TREX_CS_FILE_LASTOPFAILEDHANDLEBAD, "last file open failed and
handle is not okay"},
{ TREX_CS_FILE_ERROR7, "file error 7"},
{ TREX_CS_FILE_ERROR8, "file error 8"},
{ TREX_CS_FILE_ERROR9, "file error 9"},
{ TREX_CS_FILE_ALREADYOPEN, "file already open"},
{ TREX_CS_FILE_EOF, "file at eof"},
{ TREX_CS_FILE_CLOSEFAILED, "file close failed"},

//enwrap
{ TREX_ENWRAP_ENREP_ALREADY_ENGAGED, "enqueue replication server
already active"},
{ TREX_ENWRAP_ENQ_ALREADY_ENGAGED, "enqueue server already active"},
{ TREX_ENWRAP_SPAWN_FAILED, "spawning the server failed"},
{ TREX_ENWRAP_KILL_FAILED, "terminating the server failed"},
{ TREX_ENWRAP_GEN_PROFILE_FAILED, "generating the enqueue profile
failed"},
{ IMSRC_THX_LOOKUP_TERMS_FAILED, "error:
ThesaurusExtension::lookupTerms() failed" },
{ IMSRC_THX_SET_THESAURUS_TERM_FAILED, "error:
ThesaurusExtension::setThesaurusTerm() failed" },
{ IMSRC_THX_ADD_THESAURUS_RELATION_FAILED, "error:
ThesaurusExtension::addThesaurusRelation() failed" },
{ IMSRC_THX_ADD_THESAURUS_ROLE_FAILED, "error:
ThesaurusExtension::addThesaurusRole() failed" },
{ IMSRC_THX_GET_THESAURUS_TERMS_FAILED, "error:
ThesaurusExtension::getThesaurusTerms() failed" },
{ IMSRC_THX_CLEAR_ROLES_AND_RELATIONS_FAILED, "error:
ThesaurusExtension::clearRolesAndRelations() failed" },
{ IMSRC_SIMMODEL_IO, "similarity model i/o error" },
{ TREX_SAPRC_GENERAL_QS_ERROR, "unspecified QueueServerError" },
{ TREX_SAPRC_GENERAL_STE_ERROR, "unspecified STE Error" },
{ TREX_SAPRC_TREXCONFIGMGR_ERROR, "a TRexConfigMgr Error has
occured" },
{ TREX_SAPRC_NO_QUEUE_SERVER_EXISTING, "QueueServer not reachable!
(not running?)" },
{ TREX_SAPRC_CONVERSION_2_UTF8_ERROR, "Conversion Error occured when
converting to UTF8" },
{ TREX_SAPRC_CONVERSION_2_INPUT_CP_ERROR, "Conversion Error occured
when converting to input codepage" },
{ TREX_SAPRC_QUEUE_NOT_EXISTING, "specified queue/index does not
exist"},
{ TREX_SAPRC_DISK_FULL, "not enough disk space available" },
{ TREX_SAPRC_HANDLES_IN_USE, "clear/close while handles are in use" },
{ TREX_SAPRC_DOCTOOBIG, "too many token in document, rejected by
fulltext engine" },
{ TREX_SAPRC_DOCTOOSHORT, "not enough token in document, rejected by
fulltext engine" },
{ TREX_SAPRC_DOCINVALID_DOCRATIO, "invalid token/doc length ratio,
rejected by fulltext engine" },

{ TREX_SAPRC_SEARCH_ERROR, "search failed (no result from the query


optimizer)" },
{ TREX_SAPRC_SERVER_NOT_FOUND, "The index server (for the specified
indexes) cannot be determined" },
{ TREX_SAPRC_GENERAL_IMSAPI_ERROR, "A general error occurred in
ims_search_api" },
{ TREX_SAPRC_EXTENSION_ATTRIBUTE_EXTRACTION_FAILED ,
"EXTENSION_ATTRIBUTE_EXTRACTION_FAILED"},
{ TREX_SAPRC_EXTENSION_FILTERING_FAILED ,
"EXTENSION_FILTERING_FAILED"},
{ TREX_SAPRC_EXTENSION_URL_RETRIEVAL_FAILED ,
"EXTENSION_URL_RETRIEVAL_FAILED"},
{ TREX_SAPRC_INDEXING_EXTENSION_FAILED , "INDEXING_EXTENSION_FAILED"},

{ TREX_SAPRC_QS_INDEX_AND_DEINDEX, "Indexing and deindexing in one


call is not allowed here"},
{ TREX_SAPRC_UNKNOWN_ATTRIBUTE, "The specified attribute is not
known" },
{ TREX_SAPRC_NO_EXTENSION_HANDLER, "No extension can perform the
requested function" },
{ TREX_SAPRC_FUNCTION_NOT_IMPLEMENTED, "TREX function is not
implemented (yet)" },

{ TREX_SAPRC_TCPIP_COMMUNICATION_ERROR, "communication error with a


TREX TCP/IP Server"},
{ TREX_SAPRC_DOCUMENT_INDEX_ERROR, "SAPRC_DOCUMENT_INDEX_ERROR"},
{ TREX_SAPRC_TOOMANYNATURALTEXTITEMS, "only one natural text item is
allowed"},
{ TREX_SAPRC_UNKNOWNACTION, "action not specified"},
{ TREX_SAPRC_TOOMANYSTORAGES, "SAPRC_TOOMANYSTORAGES"},
{ TREX_SAPRC_WRONGQUERY, "invalid query"},
{ TREX_SAPRC_MISSARG, "missing argument"},
{ TREX_SAPRFC_DUPLIDOC, "SAPRFC_DUPLIDOC" },
{ TREX_SAPRC_CODEPAGE_ERROR, "SAPRC_CODEPAGE_ERROR"},
{ TREX_SAPRC_CONF_ERROR, "SAPRC_CONF_ERROR"},
{ TREX_SAPRC_INTERNAL_DLL_CANNOT_BE_LOADED,
"SAPRC_INTERNAL_DLL_CANNOT_BE_LOADED"},
{ TREX_SAPRC_PARAMETER_NOT_FOUND, "SAPRC_PARAMETER_NOT_FOUND"},
{ TREX_SAP_ERROR, "general search engine error"},
{ TREX_SAPRC_LOCKHANDLING, "SAPRC_LOCKHANDLING"},
{ TREX_SAPRC_VERSION_ERROR, "SAPRC_VERSION_ERROR"},
{ TREX_SAPRC_RFC_PARAMETER_NOT_FOUND, "SAPRC_RFC_PARAMETER_NOT_FOUND"},
{ TREX_SAPRC_DLL_CANNOT_BE_LOADED, "SAPRC_DLL_CANNOT_BE_LOADED"},
{ TREX_SAPRC_ERROR_GENERAL_ERROR, "general error (no further
information available)"},

// -------------------- ims_search_api errors --------------------

// { IMSRC_DETAILED, "Multiple operation failed, detail is


provided in a list"},
{ IMSRC_INDEXEXISTS, "An index already exists with the same name"},
// { IMSRC_DOCNOTFOUND, "Document to delete/update was not
found"},
// { IMSRC_DUPLIDOC, "Several documents with the same ID exists
in the index"},
{ IMSRC_INDEXLOCKED, "Index is temporarily unavailable/locked" },
{ IMSRC_INDEXNOTFOUND, "Index does not exist"},
{ IMSRC_INDEXNOTASSIGNED, "Index has not been assigned to this
IndexServer"},
// { IMSRC_INDEXCORRUPT, "Index is corrupted. Must be
deleted/repaired by hand"},
{ IMSRC_INDEXCORRUPT, "Index is corrupted, rollback required"},
{ IMSRC_MEMORYFULL, "Memory allocation failed"},
// { IMSRC_NOSPACEFOUND, "Not enough space available for index
creation"},
{ IMSRC_UNKNOWNLANG, "Document language is unknown or not specified"},
// { IMSRC_DIRCREATFAIL, "Directory creation failed"},
// { IMSRC_DIRDELFAIL, "Directory removal failed"},
// { IMSRC_UNKNOWNTYPE, "Unknown or unsupported data type"},
// { IMSRC_FILEERROR, "An operation has failed on a file (create,
delete, copy, move, ...)"},
// { IMSRC_BKUPNOTFOUND, "The backup to restore was not found"},
{ IMSRC_INVALIDARG, "A received argument has an invalid value"},
{ IMSRC_INDEX_NAME_CONFLICT, "Index name conflicts with existing index
name"},
// { IMSRC_INETERROR, "An internet download has failed"},
// { IMSRC_SYSTEMERROR, "Unspecified Win32/Unix system error"},
// { IMSRC_ROWLOCKED, "SearchServer could not retrieve data
because this row is locked"},
// { IMSRC_IDXOPTFAILED, "Automatic index optimization failed"},
// { IMSRC_DOCUMENT_DELAYED, "warning: document is set to delayed
indexing"},
// { IMSRC_INDEX_DELAY, "warning: Index is now in delay mode
(Optimize call)"},
// { IMSRC_OPTIMIZE_DELAY, "warning: Optimize is delayed"},
// { IMSRC_NO_DELAY, "warning: no delay mode active"},
// { IMSRC_ALREADY_IN_DELAY_MODE, "warning: requested delay mode
is already active"},
// { IMSRC_CANNOT_CREATE_INDEX, "error: an index cannot be
created"},
{ IMSRC_SYNTAX_ERROR, "syntax error (parsing query)" },

// configuration errors
{ IMSRC_CONFIGURATION_ERROR, "general configuration error" },
{ IMSRC_FILE_NOT_FOUND, "file not found" },
{ IMSRC_FILE_OPEN_ERROR, "file could not be opened" },
{ IMSRC_FILE_READ_ERROR, "file could not be read" },
{ IMSRC_FILE_WRITE_ERROR, "file could not be written" },
{ IMSRC_SECTION_NOT_FOUND, "section not found" },
{ IMSRC_VALUE_NOT_FOUND, "value not found" },
{ IMSRC_FILE_CREATE_ERROR, "file could not be created" },
{ IMSRC_FILE_REMOVE_ERROR, "file could not be removed" },
{ IMSRC_FILE_RENAME_ERROR, "file could not be renamed" },
{ IMSRC_TABLE_CONFIGURATION_ERROR, "table configuration error" },
{ IMSRC_TABLE_ROW_LENGTH_ERROR, " table row has unexpected length" },
{ IMSRC_LOGICALINDEXEXISTS, "a logical index already exists with the
same name"},
{ IMSRC_LOGICALINDEX_PART_EXISTS, "a pyhsical part of the logical
index already exists with the same name"},
{ IMSRC_LOGICALINDEX_PART_ERROR, "could not check for physical part of
logical index with the same name"},

{ IMSRC_LEXICON_ERROR, " error while lexicalizing query terms" },

{ IMSRC_DIRECTORY_REMOVAL_ERROR, "an index with the same name was not


completely deleted, and trying to delete these old files failed."},

{ IMSRC_NOT_SUPPORTED_ANYMORE, "function not supported anymore" },

{ IMSRC_GENERAL_QS_ERROR, "unspecified QueueServerError" },


{ IMSRC_TAXONOMY_NODE_NOT_FOUND, "taxonomy node not found" },
{ IMSRC_TAXONOMY_NODE_HAS_CHILDREN, "cannot delete nodes with
children" },
{ IMSRC_TAXONOMY_DOES_NOT_EXIST, "taxonomy not found" },
{ IMSRC_TAXONOMY_ASSIGNMENT_TO_CHILD, "assignment of node to child" },
{ IMSRC_CHARACTERS_NOT_UTF8, "object contains characters that can not
be written to XML file (invalid utf-8?)" },
{ IMSRC_INVALID_ATTRIBUTE_NAME, "invalid attribute name" },
{ IMSRC_INVALID_INDEXID, "invalid index id string" },
{ IMSRC_LOGICAL_INDEX_CREATE_ERROR, "logical index create error" },
{ IMSRC_JOIN_INDEX_CREATE_ERROR, "join index create error" },
{ IMSRC_JOIN_INDEX_INCONSISTENT, "join index inconsistent" },
{ IMSRC_INVALID_METAMODELID, "invalid id for join metamodel
entry" },
{ IMSRC_DUPLICATE_METAMODELID, "duplicate id for join metamodel
entry" },
{ IMSRC_TEMPINDEX_NOT_FILLED, "temp index not filled" },

{ IMSRC_GENERAL_STE_ERROR, "unspecified STE Error" },


{ IMSRC_NO_QUEUE_SERVER_EXISTING, "QueueServer not reachable! (not
running?)" },
{ IMSRC_QUEUE_NOT_EXISTING, "specified queue/index does not exist" },

{ XRC_NODATA, "executor: cannot create plan data item (producer or


consumer not found in execution plan)" },
{ XRC_DATA_DELETED, "executor: trying to use deleted internal data" },
{ XRC_DATA_FAILED, "executor: failed to calculate data item" },
{ XRC_UNDEFINED_STATE, "executor: undefined internal state" },
{ XRC_PARAMETER_TYPE, "executor: plan data object has the wrong
type" },
{ XRC_OUTPUT_TWICE, "executor: trying to create existing output" },
{ XRC_POP_NOT_FOUND, "executor: cannot find operation to produce data
value" },
{ XRC_CANNOT_CREATE_DATA, "executor: plan operation failed to create
data item" },
{ XRC_PLAN_MISSING, "executor: received PlanExecutor without plan" },
{ XRC_EXECUTOR_ID_MISSING, "executor: executor id missing" },
{ XRC_EXECUTOR_MISSING, "executor: internal problem: executor object
missing" },
{ XRC_EXECUTOR_TWICE, "executor: received two executors for the same
plan" },
{ XRC_NOT_IMPLEMENTED, "executor: method not implemented" },
{ XRC_COMMUNICATION_ERROR, "executor: communication problem" },
{ XRC_POP_ARGTYPE, "executor: a plan operation received an invalid
argument" },
{ XRC_POP_ARGCOUNT, "executor: a plan operation received the wrong
number of arguments" },
{ XRC_POP_PARAMETER, "executor: a plan operation received invalid
parameters" },
{ XRC_POP_NOT_CALLED, "executor: planop not executed" },
{ XRC_POP_GENERAL_ERROR, "executor: plan operation execution failed
with an exception" },
{ XRC_ATTRIBUTE_TYPE, "executor: attribute types don\'t match" },
{ XRC_POP_ERROR, "executor: plan operation failed" },
{ XRC_FAILED_TO_TERMINATE, "executor: failed to terminate plan" },
{ XRC_EXECUTOR_ID_NOT_FOUND, "executor id not found" },
{ DFC_UNKNOWN_REQUEST, "Unknown dim fn cache request type" },
{ DFC_HANDLE_NOT_FOUND, "DFC_HANDLE_NOT_FOUND" },
{ DFC_HANDLE_EXISTS, "DFC_HANDLE_EXISTS" },
{ DFC_HANDLE_IN_USE, "DFC_HANDLE_IN_USE" },
{ DFC_UNKNOWN_HANDLE_TEST_REQUEST, "DFC_UNKNOWN_HANDLE_TEST_REQUEST" },
{ DFC_HANDLE_FAILED, "DFC_HANDLE_FAILED" },
// { , "" },

{ OLAP_CACHE_ENTRY_MISSING, "entry missing from olap cache" },


{ OLAP_AGGREGATE_COL_MISMATCH, "executor: aggregate attributes dont\'t
match (build result operation)" },
{ OLAP_AGGREGATE_NOT_ENOUGH_MEMORY, "aggregation: not enough memory
for executing aggregation" },
{ OLAP_UNKNOWN_ATTRIBUTES, "aggregation: attribute unknown" },
{ OLAP_INTERNAL_AGGREGATION_ERROR, "internal aggregation error during
fact table aggregation" },
{ OLAP_NO_DELTA, "olap function not implemented for delta index" },
{ OLAP_DELTA_MISSING, "olap data for delta index not found" },
{ OLAP_FTABLE_QUERY_ERROR, "internal error when executing query on the
fact table" },
{ OLAP_SORT_COL, "sorting olap result column not possible" },
{ OLAP_INCONSISTENT_FACT_TABLE, "inconsistent fact table : not all
dimensions have the same number of entries" },
{ IMSRC_GENERAL_ASSIGN_ERROR, "general assign error" },
{ IMSRC_ATTRIBUTE_UNKNOWN, "undefined index attribute" },
{ IMSRC_EXTERNAL_SEARCH_FAILED, "external search failed" },
{ IMSRC_ATTRIBUTE_EXISTS, "the defined attribute already exists" },
{ IMSRC_SERVER_NOT_FOUND, "The index server (for the specified
indexes) cannot be determined" },
{ IMSRC_UNKNOWN_FUNCTION_IN_RESPONSE, "Unknown function name found in
the response of a TCPIP call" },
{ IMSRC_TCPIP_VERSION_MISMATCH, "TCPIP client/server version
mismatch" },
{ IMSRC_TCPIP_OBJECT_ID_MISMATCH, "a different object was expected
(TCPIP)" },
{ IMSRC_TCPIP_OBJECT_END_INCORRECT, "TCP/IP object synchronization
error" },
{ IMSRC_INDEX_NOT_WRITABLE, "write to non writable index" },
{ IMSRC_INDEX_NOT_SEARCHABLE, "search on non searchable index" },

{ IMSRC_TCPIP_CONN_REFUSED, "TCP/IP connection refused" },


{ IMSRC_TCPIP_INIT_FAILED, "TCP/IP init failed" },
{ IMSRC_TCPIP_NO_DATA, "TCP/IP no data" },
{ IMSRC_TCPIP_MAX_RETRY, "TCP/IP max retry" },
{ IMSRC_TCPIP_UNKNOWN, "TCP/IP unknown" },
{ IMSRC_INDEX_TEMPORARY_NOT_AVAILABLE, "The index is temporary not
available" },
{ IMSRC_SEARCHCACHE_FAILED, "SearchCache operation failed" },
{ IMSRC_DYNAMIC_CAST_FAILED, "dynamic_cast failed"},
{ IMSRC_MULTISERVER_SEARCH_ERROR, "multi-server search failed on some
of the servers"},
{ IMSRC_INDEXING_EXTENSION_FAILED , "INDEXING_EXTENSION_FAILED"},

{ IMSRC_SPLITINDEX_CREATEINDEX_FAILED, "Create index failed"},


{ IMSRC_SPLITINDEX_MERGEINDEX_FAILED, "Merge index failed"},
{ IMSRC_SPLITINDEX_MERGEDELTAINDEX_FAILED, "Merge delta index failed"},
{ IMSRC_SPLITINDEX_RENAMEINDEX_FAILED, "Rename failed" },
{ IMSRC_SPLITINDEX_ROLLBACKINDEX_FAILED, "Rollback failed"},
{ IMSRC_SPLITINDEX_DELETEINDEX_FAILED, "Delete index failed"},
{ IMSRC_SPLITINDEX_QUEUE_ACTIVE, "Delete index failed, because of
active queue"},

{ IMSRC_RENAME_ERROR, "Rename index failed"},

{ IMSRC_QS_INDEX_AND_DEINDEX, "Indexing and deindexing in one call is


not allowed here"},
{ IMSRC_NO_EXTENSION_HANDLER, "No extension can perform the requested
function" },
{ IMSRC_FUNCTION_NOT_IMPLEMENTED, "TREX function is not implemented (,
yet)" },

{ IMSRC_TCPIP_COMMUNICATION_ERROR, "A communication error occured,


with the TREX TcpIp Server"},
{ IMSRC_DOCUMENT_INDEX_ERROR, "SAPRC_DOCUMENT_INDEX_ERROR"},
{ IMSRC_RFC_COMMUNICATION_ERROR, "A rfc communication error
occured"},
{ IMSRC_MISSARG, "IMSRC_MISSARG"},
{ IMSRC_CODEPAGE_ERROR, "IMSRC_CODEPAGE_ERROR"},
{ IMSRC_CONF_ERROR, "error reading or writing .ini file"},
{ IMSRC_INTERNAL_DLL_CANNOT_BE_LOADED,
"IMSRC_INTERNAL_DLL_CANNOT_BE_LOADED"},
{ IMSRC_SAP_ERROR, "general search engine error"},
{ IMSRC_DLL_CANNOT_BE_LOADED, "IMSRC_DLL_CANNOT_BE_LOADED"},
{ IMSRC_GENERAL_ERROR, "general error (no further information
available)"},

/* ------------- IdxProv Errors ------------------------------ */


{ IDXPROV_EMPTY_PARAM, "empty parameter"},
{ IDXPROV_WRONG_PARAM, "wrong parameter"},
{ IDXPROV_NOT_FOUND, "not found"},
{ IDXPROV_INDEX_NOT_VALID, "index definition not valid"},
{ IDXPROV_ELEMENT_NOT_FOUND, "xml tag not found"},
{ IDXPROV_NULL_POINTER, "null pointer"},
{ IDXPROV_INDEX_EXITS, "index already exists"},
{ IDXPROV_DB_CONFILICT, "database conflict"},
{ IDXPROV_NOT_ENOUGH_MEMORY, "not enough memory"},
{ IDXPROV_IDXLIST_CONFLICT, "indexlist conflict"},
{ IDXPROV_INDEX_NOT_FOUND, "index not found"},
{ IDXPROV_INDEX_EXISTS, "index already exists"},
{ IDXPROV_CPP_API_SET_ERR, "C++ api set error"},
{ IDXPROV_UNKNOWN_INDEX_CREATE_ERROR, "unknown error during creation
of an index (false value)"},
{ IDXPROV_UNKNOWN_ATTR_CHANGE_ACTION, "unknown attribute change action
request"},
{ IDXPROV_NS_NO_RESULT, "name server has no results"},
{ IDXPROV_IMS_SERVER_API_ERR, "IMS server api error"},
{ IDXPROV_UNKOWN_API_ERR, "unknown api error"},
{ IDXPROV_NOT_IMPLEMENTED, "not implemented"},
{ IDXPROV_UNKNOWN_REQUEST, "unknown request"},

{ IDXPROV_GUID_CREATE_ERR, "error create a guid as index id"},


{ IDXPROV_NO_TM_ENGINE, "no TM engine is given"},
{ IDXPROV_WRONG_CLASS_FLAG, "wrong classification flag use : OFF
/ ON"},
{ IDXPROV_WRONG_TMFLAG, "wrong TM flag only : YES / NO"},
{ IDXPROV_WRONG_FILTERFLAG, "wrong filter flag only : YES / NO"},
{ IDXPROV_WRONG_INDEXTYPE, "wrong index type : FULLTEXTONLY |
CLASSONLY | TEXTMINING"},
{ IDXPROV_WRONG_QSFLAG, "wrong useQueueServer flag :
YES | NO"},
{ IDXPROV_NO_QUEUESERVER_FOUND, "no IP address / port for a queue
server found - UseQueueServer flag = YES"},
{ IDXPROV_ERROR_CREATE_QUEUE, "unknown error create a queue on the
queue server"},
{ IDXPROV_BACKPARSE_ERROR, "internal error - backparsing the
internal structure"},

/**********************************************************************/
/*
*/
/* xml parse errors
*/
/* 3500-3599 Errors in PreParsing and Parsing AdminCall
*/
/* 3600-3699 Errors in Parsing TMCall
*/
/* 3700-3799 Errors usi TRexAPI C++
*/
/*
*/

/**********************************************************************/
{ IDXPROV_XML_MAIN_TYPE_UNKNOWN, "specified request type
is unknown"},
{ IDXPROV_XML_SUB_TYPE_UNKNOWN, "specified sub
request type is unknown"},
{ IDXPROV_XML_MISSING_OPENING_TAG, "tag is missing"},
{ IDXPROV_XML_MISSING_CLOSING_TAG, "closing tag is
missing"},
{ IDXPROV_XML_INDEXID_NOT_SPECIFIED, "tag for indexid is not
specified"},
{ IDXPROV_XML_TAG_NOT_SPECIFIED, "tag is missing"},
{ IDXPROV_XML_LAISO_NOT_SPECIFIED, "tag for LAISO is
missing"},
{ IDXPROV_XML_TMENGINE_NOT_SPECIFIED, "tag for TMEngine is not
specified"},
// DocAttr
{ IDXPROV_XML_DOCATTR_NAME_NOT_SPECIFIED, "tag for
DocAttribute-Name is missing"},
{ IDXPROV_XML_DOCATTR_TYPE_NOT_SPECIFIED, "tag for
DocAttribute-Type is missing"},
{ IDXPROV_XML_DOCATTR_CLFLAG_NOT_SPECIFIED, "tag for
DocAttribute-ClassifyFlag is missing"},
// IdxAttr
{ IDXPROV_XML_IDXATTR_NAME_NOT_SPECIFIED, "tag for
IdxAttribute-Name is missing"},
{ IDXPROV_XML_IDXATTR_TYPE_NOT_SPECIFIED, "tag for
IdxAttribute-Type is missing"},
{ IDXPROV_XML_IDXATTR_VALUE1_NOT_SPECIFIED, "tag for
IdxAttribute-Value1 is missing"},
{ IDXPROV_XML_IDXATTR_VALUE2_NOT_SPECIFIED, "tag for
IdxAttribute-Value2 is missing"},
// TechAttr
{ IDXPROV_XML_TECHATTR_NAME_NOT_SPECIFIED, "tag for
TechAttribute-Name is missing"},
{ IDXPROV_XML_TECHATTR_TYPE_NOT_SPECIFIED, "tag for
TechAttribute-Type is missing"},
{ IDXPROV_XML_TECHATTR_VALUE1_NOT_SPECIFIED, "tag for TechAttribute-
Value1 is missing"},
{ IDXPROV_XML_TECHATTR_VALUE2_NOT_SPECIFIED, "tag for TechAttribute-
Value2 is missing"},

{ IDXPROV_XML_NEW_INDEXID_NOT_SPECIFIED, "tag for NewIndexID is


missing"},
{ IDXPROV_XML_PATH_NOT_SPECIFIED, "tag for Path is
missing"},
{ IDXPROV_XML_TMENAME_NOT_SPECIFIED , "tag for TMEName
is missing"},
{ IDXPROV_XML_TRACELEVEL_NOT_SPECIFIED, "tag for TraceLevel is
missing"},
{ IDXPROV_XML_CONVERT_IS_NOT_IMPLEMENTED, "converting routine not
implemented so far"},
{ IDXPROV_XML_MISMATCH_TAG, "mismatching tag found: either opening or
closing tag is missing"},

{ IDXPROV_XML_ERROR_SYNTAX, "XML error in


syntax"},
{ IDXPROV_XML_NOT_WELLFORMED, "XML not
wellformed"},
{ IDXPROV_XML_SAX_PARSE_ERROR, "XML error in SAX
parser"},

// -------------- Errors from TM parsing


{ IDXPROV_XML_RANKVALUE_NOT_SPECIFIED, "tag for RankValue is
missing"},
{ IDXPROV_XML_MAXCLASS_NOT_SPECIFIED, "tag for MaxClass is
missing"},
{ IDXPROV_XML_DOCID_NOT_SPECIFIED, "tag for DocID is
missing"},
{ IDXPROV_XML_DOCTYPE_NOT_SPECIFIED, "tag for DocType is
missing"},
//{ IDXPROV_XML_LAISO_NOT_SPECIFIED = 3604;
{ IDXPROV_XML_CONTENT_NOT_SPECIFIED, "tag for Content is
missing"},
{ IDXPROV_XML_QUERY_NOT_SPECIFIED, "tag for Query is
missing"},
{ IDXPROV_XML_IN_NOT_SPECIFIED, "tag for IN is
missing"},
{ IDXPROV_XML_DOCATTRNAME_NOT_SPECIFIED, "tag for DocAttrName is
missing"},
{ IDXPROV_XML_SORTDIRECTION_NOT_SPECIFIED, "tag for SortAscending
is missing"},
{ IDXPROV_XML_SELECT_NOT_SPECIFIED, "tag for Select is
missing"},
{ IDXPROV_XML_WHERE_NOT_SPECIFIED, "tag for Where is
missing"},
{ IDXPROV_XML_QTERM_NOT_SPECIFIED, "tag for QTerm is
missing"},
{ IDXPROV_XML_QTNAME_NOT_SPECIFIED, "tag for QTName is
missing"},
{ IDXPROV_XML_QTYPE_NOT_SPECIFIED, "tag for QType is
missing"},
{ IDXPROV_XML_VALUE1_NOT_SPECIFIED, "tag for Value1 is
missing"},

{ IDXPROV_XML_MAX_FEATURES_NOT_SPECIFIED, "tag for


MaxFeatures is missing"},
{ IDXPROV_XML_UNKNOWN_CONTENT_TYPE, "unknown
content type is specified"},
{ IDXPROV_XML_MAX_SIMILAR_DOCS_NOT_SPECIFIED, "tag for MaxSimilarDocs
is missing"},
{ IDXPROV_XML_WITH_ATTRIBUTES_NOT_SPECIFIED, "tag for WithAttributes
is missing"},
{ IDXPROV_XML_INDEX_NOT_SPECIFIED, "tag for
Index is missing"},
{ IDXPROV_XML_TAXNAME_NOT_SPECIFIED, "tag for TaxName
is missing"},
{ IDXPROV_XML_CLASS_LIST_NOT_SPECIFIED, "tag for ClassList
is missing"},
{ IDXPROV_XML_CLASS_NAME_NOT_SPECIFIED, "tag for ClassName
is missing"},
{ IDXPROV_XML_TERM_LIST_NOT_SPECIFIED, "tag for TermList
is missing"},
{ IDXPROV_XML_TERM_NAME_NOT_SPECIFIED, "tag for TermName
is missing"},
{ IDXPROV_XML_MAX_TERMS_NOT_SPECIFIED, "tag for MaxTerms
is missing"},

{ IDXPROV_XML_INTERVAL_NOT_SPECIFIED, "tag for Interval is


missing"},
{ IDXPROV_XML_FROM_NOT_SPECIFIED, "tag for From is
missing"},
{ IDXPROV_XML_TO_NOT_SPECIFIED, "tag for To is
missing"},
{ IDXPROV_XML_INDEX_LIST_NOT_SPECIFIED, "tag for IndexList is
missing"},
{ IDXPROV_XML_TERM_NOT_SPECIFIED, "tag for Term is
missing"},
{ IDXPROV_XML_INDEX_LOC_NOT_SPECIFIED, "tag for IndexLoc is
missing"},
{ IDXPROV_XML_ERROR_INDEX_LOC, "unspecified error
within tag IndexLoc"},

{ IDXPROV_XML_DOCATTR_NOT_SPECIFIED, "tag for DocAttr is


missing"},
{ IDXPROV_XML_NAME_NOT_SPECIFIED, "tag for Name is
missing"},
{ IDXPROV_XML_DOCUMENT_NOT_SPECIFIED, "tag for Document is
missing"},
{ IDXPROV_XML_CONTENT_TYPE_NOT_SPECIFIED, "tag for ContentType is
missing"},
{ IDXPROV_XML_MIMETYPE_NOT_SPECIFIED, "tag for MimeType is
missing"},
{ IDXPROV_XML_DOCLIST_NOT_SPECIFIED, "tag for DocList is
missing"},

{ IDXPROV_XML_DEDOCLIST_NOT_SPECIFIED, "tag for DeDocList is


missing"},
{ IDXPROV_XML_DEDOC_NOT_SPECIFIED, "tag for DeDoc is
missing"},

{ IDXPROV_XML_HOST_NOT_SPECIFIED, "tag for Host is


missing"},
{ IDXPROV_XML_PORT_NOT_SPECIFIED, "tag for Port is
missing"},
{ IDXPROV_XML_LOCATION_NOT_SPECIFIED, "tag for Location is
missing"},
{ IDXPROV_XML_CHOICE_NOT_SPECIFIED, "tag for Choice is
missing"},

// inlineparsing and infix2postfix errors


{ IDXPROV_XML_UNKNOWN_QTERM_OPERATOR, "specified QTerm-
Operator is unknown"},
{ IDXPROV_XML_UNKNOWN_QTERM_QTYPE, "specified QTerm-
QType is unknown"},
{ IDXPROV_XML_ERROR_IN_BRACKET_STACK, "error in bracket stack
/inline parsing"},
{ IDXPROV_XML_ERROR_IN_INLINE_EXPAND, "error within inline
expand"},

// -------------- Errors when using TRexAPI C++


{ IDXPROV_TREX_ERROR_SET_RESULT_FROM_TO, "TREX error:
setResultFromTo()"},
{ IDXPROV_TREX_ERROR_ADD_INDEXID, "TREX error:
addIndexId()"},
{ IDXPROV_TREX_ERROR_SORT_ATTRIBUTE, "TREX error:
setSortAttribute()"},
{ IDXPROV_TREX_ERROR_ADD_REQ_ATTR, "TREX error:
addRequestedAttribute()"},
{ IDXPROV_TREX_ERROR_SET_CODEPAGE, "TREX error:
setCodePage()"},
{ IDXPROV_TREX_ERROR_SET_LANGUAGE, "TREX error:
setLanguage()"},
{ IDXPROV_TREX_ERROR_ADD_QUERYENTRY, "TREX error:
addQueryEntry()"},
{ IDXPROV_TREX_ERROR_QE_SET_XML_QUERYSTRING, "TREX error:
setXmlQueryString()"},
{ IDXPROV_TREX_ERROR_SET_DOCID, "TREX error:
setDocID()"},
{ IDXPROV_TREX_ERROR_ADD_SEARCH_DOC, "TREX error:
addSearchDocument()"},
{ IDXPROV_TREX_ERROR_SET_MAXRESULTS, "TREX error:
setMaxResults()"},
{ IDXPROV_TREX_ERROR_SET_CLASSIFY_ATTR, "TREX error:
addClassifyAttribute()"},
{ IDXPROV_TREX_ERROR_ADD_DOCUMENT, "TREX error:
addDocument()"},
{ IDXPROV_TREX_ERROR_ADD_CLASS, "TREX error:
addClass()"},
{ IDXPROV_TREX_ERROR_ADD_TERMS, "TREX error:
addTerms()"},
{ IDXPROV_TREX_ERROR_SET_INDEXID, "TREX error:
setIndexID()"},
{ IDXPROV_TREX_ERROR_SET_THR_RANKVAL, "TREX error:
setThreshhold()"},
{ IDXPROV_TREX_ERROR_SET_DOCUMENT_GROUP, "TREX error:
setDocumentGroup()"},
{ IDXPROV_TREX_ERROR_SET_CLUSTERING_METHOD, "TREX error:
setClusterinMethod()"},
{ IDXPROV_TREX_ERROR_SET_DOCSIM_METHOD, "TREX error:
setDocumentSimilarityMethod()"},

/* -------------------- ERRORS from QueueServer --------------------


*/
{ IDXPROV_XML_INVALID_SCHEDULE_TIME, "QS error: invalid
schedule Time()"},
{ IDXPROV_QS_INDEXID_NOT_VALID, "QS error:
specified Index doesnot exist"},

/* -------------------- TRexCommonObjects ------------------ */

{ TREXCOMMON_ATTRIBUTE_TYPE_MISMATCH, "TREX Common: attribute type


mismatch" },
{ TREXCOMMON_INCONSISTENT_ATTRIBUTE, "TREX Common: attribute
inconsistent" },
{ TREXCOMMON_INVALID_ATTRIBUTE_TYPE, "TREX Common: attribute type
invalid" },
{ TREXCOMMON_INVALID_ATTRIBUTE_OPERATOR, "TREX Common: attribute
operator invalid" },
{ TREXCOMMON_ATTRIBUTE_CONVERSION_ERROR, "TREX Common: atribute
convesrion failed" },
{ TREXCOMMON_DB_OPEN_ERROR, "TREX Common: open database failed" },
{ TREXCOMMON_DB_READ_ERROR, "TREX Common: database reading failed" },
{ TREXCOMMON_DB_WRITE_ERROR, "TREX Common: database writing failed" },

/* --------------------- SimSearch ---------------------- */


{ SIM_RC_NO_MODEL, "SimSearch: No
similarity model set" },
{ SIM_RC_MEASURE_NOT_FOUND, "SimSearch: No similarity
measure defined for given attribute" },
{ SIM_RC_USE_MALUS, "SimSearch: Cannot
compute local similarity since malus is set; using global similarity
instead" },
{ SIM_RC_NO_MISSING_HANDLER, "SimSearch: No missing handler
defined in similarity model" },
{ SIM_RC_EXTERNAL_KEY_NOT_FOUND,"SimSearch: Could not convert
external keys to DocIds (key not found)" },
{ SIM_RC_EMPTY_MODEL, "SimSearch: Simialrity model
supplied is empty" },
{ SIM_RC_SYNTAX_ERROR, "SimSearch: Syntax error
parsing query string" },
{ SIM_RC_WEIGHT_NOT_DEFINED, "SimSearch: No weight defined for
attribute, neither query nor sim-model" },
{ SIM_RC_WRONG_ALGORITHM, "SimSearch: Algorithm
specified does not exist" },
{ SIM_RC_INDEX_NOT_FOUND, "SimSearch: Index supplied
does not exist" },
{ SIM_RC_VECTORS_DONT_MATCH, "SimSearch: Vectors do not match in
size" },
{ SIM_RC_ATTRIBUTE_NOT_FOUND, "SimSearch: Attribute supplied does
not exist" },
{ SIM_RC_ATTRIBUTE_EXISTS, "SimSearch: Attribute already
specified" },
{ SIM_RC_EMPTY_QUERY, "SimSearch: Query is empty" },
{ SIM_RC_NO_INDEX, "SimSearch: No index
specified" },
{ SIM_RC_LOCATION_NOT_FOUND, "SimSearch: Geographic location not
found in geo-index" },
{ SIM_RC_WRONG_SORT, "SimSearch: Wrong sorting
method specified" },
{ SIM_RC_ERROR_WRITING_MODEL, "SimSearch: Cannot write similarity
model to disk" },
{ SIM_RC_ERROR_READING_MODEL, "SimSearch: Cannot read similarity
model from disk" },
{ SIM_RC_NOT_YET_IMPLEMENTED, "SimSearch: Function not yet
implemented, sorry" },

/* -------------------- TrexStore -------------------- */


{ TREXSTORE_INDEXEXISTS, "TrexStore error: index already exists" },
{ TREXSTORE_DOCNOTFOUND, "TrexStore error: document not found" },
{ TREXSTORE_INDEXOPENERROR, "TrexStore error: could not open index" },
{ TREXSTORE_INDEXNOTFOUND, "TrexStore error: index not found" },
{ TREXSTORE_STOREERROR, "TrexStore error: could not store" },
{ TREXSTORE_DATANOTFOUND, "TrexStore error: data not found" },
{ TREXSRORE_INDEXNOTOPEN, "TrexStore error: index not open" },
{ TREXSTORE_INDEXCREATEERROR, "TrexStore error: could not create
index" },
{ TREXSTORE_STORENOTFOUND, "TrexStore error: store not found" },
{ TREXSTORE_STORENOTOPEN, "TrexStore error: store not open" },
{ TREXSTORE_INDEXNOTWRITEABLE, "TrexStore error: index not
writeable" },
{ TREXSTORE_STORECREATEERROR, "TrexStore error: could not create
store" },
{ TREXSTORE_STOREREMOVEERROR, "TrexStore error: could not remove
store" },
{ TREXSTORE_STORECLOSEERROR, "TrexStore error: could not close
store" },
{ TREXSTORE_STOREEXISTS, "TrexStore error: store exists" },
{ TREXSTORE_STOREOPENERROR, "TrexStore error: could not open store" },
{ TREXSTORE_DOCIDMISSING, "TrexStore error: document id missing" },
{ TREXSTORE_COULDNOTWRITE, "TrexStore error: write failed" },
{ TREXSTORE_OPTIMIZEERROR, "TrexStore error: could not optimize
index" },
{ TREXSTORE_INDEXREMOVEERROR, "TrexStore error: could not remove
index" },
{ TREXSTORE_NEWDOCUMENT, "TrexStore info: new document" },
{ TREXSTORE_DOCCHANGED, "TrexStore info: document changed" },
{ TREXSTORE_DOCNOTCHANGED, "TrexStore info: document unchanged" },
{ TREXSTORE_STOREEXCEPTION, "TrexStore error: exeption occurred" },
{ TREXSTORE_NOTIMPLEMENTED, "TrexStore error: function not
implemented" },

{ TREXSTORE_PREPAREERROR, "TrexStore error: prepare failed" },


{ TREXSTORE_COMMITERROR, "TrexStore error: commit failed" },
{ TREXSTORE_ROLLBACKERROR, "TrexStore error: rollback failed" },
{ TREXSTORE_SYNCPOINTERROR, "TrexStore error: synchpoint error" },
{ TREXSTORE_UNDOSYNCERROR, "TrexStore error: undo sync error" },
{ TREXSTORE_ALLREADYPREPARED, "TrexStore error: index already
prepared" },

/* -------------------- TrexSlice -------------------- */

{ TREXSLICE_STORE_CREATE, "TrexSlice error: store creation failed" },


{ TREXSLICE_STORE_NOT_FOUND, "TrexSlice error: store not found" },
{ TREXSLICE_SLICE_MISSING, "TrexSlice error: slice not found" },
{ TREXSLICE_SLICE_CREATE, "TrexSlice error: slice creation failed" },
{ TREXSLICE_SLICE_EXISTS, "TrexSlice error: slice already exists" },
{ TREXSLICE_SLICE_ID_READ, "TrexSlice error: failed to read slice
id" },
{ TREXSLICE_STORE_EXISTS, "TrexSlice error: store already exists" },
{ TREXSLICE_SLICE_DELIVER, "TrexSlice error: failed to deliver the
slice (net)" },
{ TREXSLICE_INDEX_READ, "TrexSlice error: failed to read index name
(net)" },
{ TREXSLICE_PROVIDER_MISSING, "TrexSlice error: no provider for
index" },
{ TREXSLICE_SLICE_OBTAIN, "TrexSlice error: failed to obtain the slice
(net)" },
{ TREXSLICE_NO_SNAPS_AVAILABLE, "TrexSlice error: Full replication is
not activated" },
{ TREXSLICE_COMMUNICATION_ERROR, "TrexSlice error: communication error
during full replication (net)" },
{ TREXSLICE_DELETE_INDEX_ABORT, "TrexSlice error: index already
deleted" },
{ TREXSLICE_TWO_PHASE_ERROR, "TrexSlice error: two phase replication
error" },

/* -------------------- NameServer -------------------- */

{ NAMESERVER_COMMUNICATION_ERROR, "NameServer error: communication


with server failed" },
{ NAMESERVER_PROPERTY_NOT_FOUND, "NameServer error: property not
found" },
{ NAMESERVER_WRONG_ARGUMENTS, "NameServer error: wrong arguments" },
{ NAMESERVER_PROCESS_REQUEST_FAILED, "NameServer error: failed to
process the request" },
{ NAMESERVER_ACTIVATION_ERROR, "NameServer error: failed to activate
service" },
{ NAMESERVER_DEACTIVATION_ERROR, "NameServer error: failed to
deactivate service" },
{ NAMESERVER_NO_ACTIVE_HOST, "NameServer error: no active host
found" },
{ NAMESERVER_ENTITY_EXISTS, "NameServer error: entity already
exists" },
{ NAMESERVER_NO_SERVERS, "NameServer error: no servers found" },
{ NAMESERVER_NO_ACTIVE_SERVER, "NameServer error: no active server
found" },
{ NAMESERVER_CANNOT_GET_SLICE_NO, "NameServer error: Cannot find slice
/ search_slice for index" },
{ NAMESERVER_UNKNOWN_ERROR, "NameServer error: An error occured" },
{ NAMESERVER_WRONG_MODIFY_ACTION, "Nameserver error: Command not
implemented yet" },
{ NAMESERVER_INTERNAL_ERROR, "NameServer error: Internal error" },
{ NAMESERVER_MODIFY_ERROR, "NameServer error: Cannot modify the
system" },
{ NAMESERVER_CONTAINER_ERROR, "NameServer error: Container
exception" },
{ NAMESERVER_BACKUP_IS_ACTIVE, "NameServer error: Backup is active" },
{ NAMESERVER_SHM_NOT_SUPPORTED, "NameServer error: shared memory
required for this call" },
{ NAMESERVER_TRIGGER_ERROR, "NameServer error: trigger failed" },
{ NAMESERVER_ENTITY_DOES_NOT_EXIST, "NameServer error: entity does not
exist" },
{ NAMESERVER_COMMUNICATION_TIMEOUT, "NameServer communication timeout
occured" },
{ NAMESERVER_NO_FREE_CAPACITY, "NameServer error: no free capacity" },
{ NAMESERVER_MASTERINDEX_READONLY, "The assign-status of master
indexserver is readonly"},
{ NAMESERVER_MASTERINDEX_SOONBACK, "The assign-status of master
indexserver is soonback"},
{ NAMESERVER_AUTHENTICATION_REQUIRED, "Authentication required"},
{ NAMESERVER_PYTHON_ERROR, "Python error"},
{ NAMESERVER_PLAN_NOT_FOUND, "Reorg plan not found"},
{ NAMESERVER_PLAN_ACTIVE, "Another reorg plan is currently active"},
{ NAMESERVER_RESET_LANDSCAPE_ACTIVE, "Another landscape restart/reboot
is currently active"},
#ifdef SAPonNT
{ NAMESERVER_NO_REBOOT_PRIVILEGE, "The user (SAPService<SID>) has no
shutdown privilege"},
#else
{ NAMESERVER_NO_REBOOT_PRIVILEGE, "The user (<sid>adm) is not allowed
to execute /sbin/reboot"},
#endif
/* -------------------- QueueServer -------------------- */

{ QUEUESERVER_NO_QUEUES_IN_SERVER, "QS error: no queues in server" },


{ QUEUESERVER_INDEX_NOT_FOUND, "QS error: index not found" },
{ QUEUESERVER_QUEUE_NOT_FOUND, "QS error: queue not found" },
{ QUEUESERVER_DOCUMENT_NOT_FOUND, "QS error: document not found"},
{ QUEUESERVER_NO_CONNECTION_TO_INDEX, "QS error: no connection to
index" },
{ QUEUESERVER_INDEXING_RUNNING, "QS error: indexing in progress" },
{ QUEUESERVER_OPTIMIZE_RUNNING, "QS error: optimize in progress" },
{ QUEUESERVER_INDEXING_FAILED, "QS error: indexing failed" },
{ QUEUESERVER_OPTIMIZE_FAILED, "QS error: optimize failed" },
{ QUEUESERVER_NO_CONNECTION_TO_QUEUESERVER, "QS error: no connection
to QueueServer" },
{ QUEUESERVER_DOCUMENT_MISSING_PARAMETER, "QS error: document missing
parameter" },
{ QUEUESERVER_DOCUMENT_WRONG_PARAMETER, "QS error: document wrong
parameter" },
{ QUEUESERVER_DOCUMENT_COULD_NOT_BE_INDEXED, "QS error: document could
not be indexed" },
{ QUEUESERVER_DOCUMENT_COULD_NOT_BE_DEINDEXED, "QS error: document
could not be de-indexed" },
{ QUEUESERVER_SCHEDULE_TIME_WRONG, "QS error: schedule time wrong" },
{ QUEUESERVER_URL_NOT_VALID, "QS error: invalid URL" },
{ QUEUESERVER_WRONG_PARAMETER, "QS error: wrong parameter" },
{ QUEUESERVER_QUEUE_NOT_DELETED, "QS error: queue not deleted" },
{ QUEUESERVER_SERVER_EXCEPTION, "QS error: server exception" },
{ QUEUESERVER_COMMUNICATION_ERROR, "QS error: communication error
occured" },
{ QUEUESERVER_UNKNOWN_REQUEST, "QS error: unknown request" },
{ QUEUESERVER_QUEUE_EXISTS, "QS error: queue exists" },
{ QUEUESERVER_TRUNCATED, "QS error: truncated" },
{ QUEUESERVER_INVALID_DOCUMENT, "QS error: invalid document" },
{ QUEUESERVER_INCONSISTENT_DATA, "QS error: inconsistent data" },
{ QUEUESERVER_DOCUMENT_COULD_NOT_BE_REMOVED, "QS error: document could
not be removed" },
{ QUEUESERVER_DOCUMENT_ALREADY_INDEXED, "QS error: document already
indexed" },
{ QUEUESERVER_DOC_STATUS_NOT_RETURNED, "QS error: document status was
not returned from server" },
{ QUEUESERVER_SHUTDOWN, "QS error: shutdown in progress" },
{ QUEUESERVER_PROTOCOL_MISMATCH, "QS error: protocol mismatch" },
{ QUEUESERVER_QUEUE_NOT_CLEARED, "QS error: queue not cleared" },
{ QUEUESERVER_QUEUE_NOT_CLOSED, "QS error: queue not closed" },
{ QUEUESERVER_BUNDLE_NOT_FOUND, "QS error: bundle not found" },
{ QUEUESERVER_BUNDLECLOSED, "QS error: bundle already closed" },
{ QUEUESERVER_BACKUPFAILED , "QS error: backup failed" },
{ QUEUESERVER_RESTOREFAILED , "QS error: restore failed" },

// HTTP Status Codes

{ QUEUESERVER_HTTP_100, "HTTP Status Code 100: Continue" },


{ QUEUESERVER_HTTP_101, "HTTP Status Code 101: Switching Protocols" },
{ QUEUESERVER_HTTP_201, "HTTP Status Code 201: Created" },
{ QUEUESERVER_HTTP_202, "HTTP Status Code 202: Accepted" },
{ QUEUESERVER_HTTP_203, "HTTP Status Code 203: Non-Authoritative
Information" },
{ QUEUESERVER_HTTP_204, "HTTP Status Code 204: No Content" },
{ QUEUESERVER_HTTP_205, "HTTP Status Code 205: Reset Content" },
{ QUEUESERVER_HTTP_206, "HTTP Status Code 206: Partial Content" },
{ QUEUESERVER_HTTP_300, "HTTP Status Code 300: Multiple Choices" },
{ QUEUESERVER_HTTP_301, "HTTP Status Code 301: Moved Permanently" },
{ QUEUESERVER_HTTP_302, "HTTP Status Code 302: Found" },
{ QUEUESERVER_HTTP_303, "HTTP Status Code 303: See Other" },
{ QUEUESERVER_HTTP_304, "HTTP Status Code 304: Not Modified" },
{ QUEUESERVER_HTTP_305, "HTTP Status Code 305: Use Proxy" },
{ QUEUESERVER_HTTP_307, "HTTP Status Code 307: Temporary Redirect" },
{ QUEUESERVER_HTTP_400, "HTTP Status Code 400: Bad Request" },
{ QUEUESERVER_HTTP_401, "HTTP Status Code 401: Unauthorized" },
{ QUEUESERVER_HTTP_402, "HTTP Status Code 402: Payment Required" },
{ QUEUESERVER_HTTP_403, "HTTP Status Code 403: Forbidden" },
{ QUEUESERVER_HTTP_404, "HTTP Status Code 404: Not Found" },
{ QUEUESERVER_HTTP_405, "HTTP Status Code 405: Method Not Allowed" },
{ QUEUESERVER_HTTP_406, "HTTP Status Code 406: Not Acceptable" },
{ QUEUESERVER_HTTP_407, "HTTP Status Code 407: Proxy Authentication
Required" },
{ QUEUESERVER_HTTP_408, "HTTP Status Code 408: Request Timeout" },
{ QUEUESERVER_HTTP_409, "HTTP Status Code 409: Conflict" },
{ QUEUESERVER_HTTP_410, "HTTP Status Code 410: Gone" },
{ QUEUESERVER_HTTP_411, "HTTP Status Code 411: Length Required" },
{ QUEUESERVER_HTTP_412, "HTTP Status Code 412: Precondition Failed" },
{ QUEUESERVER_HTTP_413, "HTTP Status Code 413: Request Entity Too
Large" },
{ QUEUESERVER_HTTP_414, "HTTP Status Code 414: Request-URI Too Long" },
{ QUEUESERVER_HTTP_415, "HTTP Status Code 415: Unsupported Media
Type" },
{ QUEUESERVER_HTTP_416, "HTTP Status Code 416: Requested Range Not
Satisfiable" },
{ QUEUESERVER_HTTP_417, "HTTP Status Code 417: Expectation Failed" },
{ QUEUESERVER_HTTP_500, "HTTP Status Code 500: Internal Server
Error" },
{ QUEUESERVER_HTTP_501, "HTTP Status Code 501: Not Implemented" },
{ QUEUESERVER_HTTP_502, "HTTP Status Code 502: Bad Gateway" },
{ QUEUESERVER_HTTP_503, "HTTP Status Code 503: Service Unavailable" },
{ QUEUESERVER_HTTP_504, "HTTP Status Code 504: Gateway Timeout" },
{ QUEUESERVER_HTTP_505, "HTTP Status Code 505: HTTP Version Not
Supported" },

/* -------------------- Lexicon error messages (6600) ----------------


-- */

{ LEXICON_ERROR_6600, "Lexicon: can't open Lexicon"},


{ LEXICON_ERROR_6601, "Lexicon: parameter error"},
{ LEXICON_ERROR_6602, "Lexicon: configuration error"},
{ LEXICON_ERROR_6603, "Lexicon: memory error"},
{ LEXICON_ERROR_6604, "Lexicon: unknown generator"},
{ LEXICON_ERROR_6605, "Lexicon: wrong generator for function"},
{ LEXICON_ERROR_6606, "Lexicon: assertion failure"},
{ LEXICON_ERROR_6607, "Lexicon: file not found"},
{ LEXICON_ERROR_6608, "Lexicon: resource load failure"},
{ LEXICON_ERROR_6609, "Lexicon: symbol outside alphabet"},
{ LEXICON_ERROR_6610, "Lexicon: resource absent"},
{ LEXICON_ERROR_6611, "Lexicon: resource mangled"},
{ LEXICON_ERROR_6612, "Lexicon: resource mismatch"},
{ LEXICON_ERROR_6613, "Lexicon: resource wrong syntax"},
{ LEXICON_ERROR_6614, "Lexicon: resource unspecified"},
{ LEXICON_ERROR_6615, "Lexicon: unknown codepage"},
{ LEXICON_ERROR_6616, "Lexicon: unknown language"},
{ LEXICON_ERROR_6617, "Lexicon: cp conversion error"},
{ LEXICON_ERROR_6618, "Lexicon: general failure"},
{ LEXICON_ERROR_6619, "Lexicon: unknown encoding"},
{ LEXICON_ERROR_6620, "Lexicon: unbalanced markup"},
{ LEXICON_ERROR_6621, "Lexicon: lex_other_error"},
{ LEXICON_ERROR_6622, "Lexicon: lex_encoding_not_supported"},
{ LEXICON_ERROR_6623, "Lexicon: lex_encoding_not_declared"},
{ LEXICON_ERROR_6624, "Lexicon: lex_inconsistent_encoding_setting"},
{ LEXICON_ERROR_6625, "Lexicon: lex_unknown_format"},
{ LEXICON_ERROR_6626, "Lexicon: lex_html_wrong_syntax"},
{ LEXICON_ERROR_6627, "Lexicon: lex_license_error"},
{ LEXICON_ERROR_6628, "Lexicon: lexicon timed out"},

/* from Python: */
{ PW_ERRCODE_NOT_AVAILABLE, "Error code not available" },

/* preprocessor: */

{ PREPROCESSOR_FAILED, "Preprocessor: failed" },


{ PREPROCESSOR_INCONSISTENT_DATA, "Preprocessor: inconsistent data" },
{ PREPROCESSOR_EXCEPTION, "Preprocessor: exception" },
{ PREPROCESSOR_INVALID_INPUT_DOCUMENT, "Preprocessor: invalid input
document" },
{ PREPROCESSOR_INVALID_OUTPUT_DOCUMENT, "Preprocessor: invalid output
document" },
{ PREPROCESSOR_DOC_NOT_CHANGED, "Preprocessor: doc not changed" },
{ PREPROCESSOR_FILTER_ERROR, "Preprocessor: filter error" },
{ PREPROCESSOR_NOT_REACHABLE, "PreprocessorClient: Communication error,
can't reach Preprocessor" },
{ PREPROCESSOR_ACTIVITY_ERROR, "Preprocessor: Error in Activity" },
{ PREPROCESSOR_COMMUNICATION_ERROR, "Preprocessor: Communication
error" },
{ PREPROCESSOR_PROTOCOL_MISMATCH, "Preprocessor: protocol mismatch" },
{ PREPROCESSOR_REQUEST_CANCELED, "Preprocessor: request canceled" },

/* Attribute Engine: */

{ AERC_FAILED, "Attribute engine failed" },


{ AERC_NOT_IMPLEMENTED, "Attribute engine function not implemented" },
{ AERC_ATTRIBUTE_EXISTS, "Attribute exists (Attribute Engine)" },
{ AERC_CREATE_FAILED, "Attribute creation failed (Attribute Engine)" },
{ AERC_UNDEFINED, "Attribute not defined (Attribute Engine)" },
{ AERC_INDEX_EXISTS, "Attribute engine index exists" },
{ AERC_INDEX_NOT_FOUND, "Attribute engine index not found" },
{ AERC_INDEX_NOT_OPEN, "Attribute engine index not open" },
{ AERC_ATTRIBUTE_NOT_OPEN, "Attribute not open(ed)" },
{ AERC_INDEX_ID_MISSING, "IndexId missing (AttributeEngine)" },
{ AERC_ATTRIBUTE_ID_MISSING, "Attribute id missing" },
{ AERC_ILLEGAL_SORT, "This kind of sorting not available in this
context (AttributeEngine)" },
{ AERC_INDEXDIR_MISSING, "Attribute index directory does not exist" },
{ AERC_DOCUMENT_NOT_FOUND, "DOCUMENT_NOT_FOUND (AttributeEngine)" },
{ AERC_UNKNOWN_OPERATOR, "UNKNOWN_OPERATOR (AttributeEngine)" },
{ AERC_UNKNOWN_ATTRIBUTE, "UNKNOWN_ATTRIBUTE (AttributeEngine)" },
{ AERC_OPTIMIZE_FAILED, "OPTIMIZE_FAILED (AttributeEngine)" },
{ AERC_CONTAININGDIR_MISSING, "CONTAININGDIR_MISSING
(AttributeEngine)" },
{ AERC_CANNOT_CREATEDIR, "CANNOT_CREATEDIR (AttributeEngine)" },
{ AERC_DELETE_INDEX_FAILED, "DELETE_INDEX_FAILED (AttributeEngine)" },
{ AERC_NO_DATA_PATH, "failed to read index path from
DirectoryManager" },
{ AERC_DIRREAD_FAILED, "failed to read index subdirectories" },
{ AERC_LOAD_FAILED, "Attribute load failed" },
{ AERC_SAVE_FAILED, "Attribute save failed" },
{ AERC_WRONG_MAGIC_NUMBER, "Wrong magic number in file" },
{ AERC_UNSUPPORTED_FILE_VERSION, "Unsupported attribute file
version" },
{ AERC_ITERATION_IMPOSSIBLE, "The specified iteration method is either
impossible or not implemented" },
{ AERC_RESULTDOCS_REQUIRED, "Resultdocs must be specified in
AttributeQuery (for this iteration method)" },
{ AERC_UNSUPPORTED_ATTRIBUTE_TYPE, "unsupported attribute type" },
{ AERC_NUMBER_SYNTAX, "attribute value is not a number" },
{ AERC_DATE_SYNTAX, "attribute value is not a date or wrong syntax" },
{ AERC_DATE_PRECISION_MISMATCH, "defined date precision is illegal" },
{ AERC_NO_SINGLE_VALUE, "attribute value is not a single value" },
{ AERC_WRONG_OPERAND_COUNT, "not enough or too many operands for
attribute search operator" },
{ AERC_ESTIMATION_IMPOSSIBLE, "cannot estimate attribute query result
count" },
{ AERC_MEMINDEX_NOT_SUPPORTED, "this operation is not supported for
memory indexes" },
{ AERC_DELETE_FILE_FAILED, "deleting an attribute file failed" },
{ AERC_RENAME_FILE_FAILED, "renaming an attribute file failed" },
{ AERC_NOT_PREPARED, "AttributeEngine: commit() or rollback() was
called without calling prepare() first" },
{ AERC_NO_INDEX, "AttributeEngine: Single valued index required" },
{ AERC_ATTRIBUTE_TYPE, "AttributeEngine: this operation is not
implemented for this attribute type" },
{ AERC_VALUE_SYNTAX, "AttributeEngine: syntax error parsing an
attribute value" },
{ AERC_INVALID_BINARY_SIZE, "AttributeEngine: AttributeValue has an
invalid binary size" },
{ AERC_OVERFLOW, "AttributeEngine: bcd add overflow" },
{ AERC_FILE_NOT_OPEN, "AttributeEngine: file not open" },
{ AERC_FILE_READ_ERROR, "AttributeEngine: error reading file" },
{ AERC_FILE_WRITE_ERROR, "AttributeEngine: error writing file" },
{ AERC_CANNOT_OPEN_FILE, "AttributeEngine: failed to open file" },
{ AERC_NO_EXTEND_RANGE, "AttributeEngine: equalsExtendRange not
supported (, yet)" },
{ AERC_UPDATES_PENDING, "AttributeEngine: cannot close attribute
because updates are pending" },
{ AERC_ATTRIBUTE_IN_USE, "AttributeEngine: attribute locked (in
use)." },
{ AERC_MEMORY_ERROR, "AttributeEngine: not enough memory." },

/* -------------------- NI error messages (8000) ------------------ */


{ NIRC_ERROR_8001, "Ni-internal Error" },
{ NIRC_ERROR_8002, "Unknown Hostname" },
{ NIRC_ERROR_8003, "Unknow Service" },
{ NIRC_ERROR_8004, "Service already used" },
{ NIRC_ERROR_8005, "Timeout reached" },
{ NIRC_ERROR_8006, "Lost Connection to peer " },
{ NIRC_ERROR_8007, "Data-area to small" },
{ NIRC_ERROR_8008, "Invalid Parameter" },
{ NIRC_ERROR_8009, "Wake-Up (without data)" },
{ NIRC_ERROR_8010, "Creating connection failed" },
{ NIRC_ERROR_8011, "Got PING/PONG-Signal" },
{ NIRC_ERROR_8012, "Connection to peer via NiRouter not yet
established" },
{ NIRC_ERROR_8013, "Invalid Version" },
{ NIRC_ERROR_8014, "Couldn't determine own Hostname" },
{ NIRC_ERROR_8015, "No free port within range" },
{ NIRC_ERROR_8016, "own hostname invalid" },
{ NIRC_ERROR_8017, "Error in SNC layer within saprouter ==> " },
{ NIRC_ERROR_8018, "Opcode received" },
{ NIRC_ERROR_8019, "Queue limit reached, following paket will be
rejected" },
{ NIRC_ERROR_8020, "Requested paket to big" },
{ NIRC_ERROR_8021, "Accepted handle pending" },
{ NIRC_ERROR_8022, "Handle passed to other process" },
{ NIRC_ERROR_8023, "Peer didn't answer" },
{ NIRC_ERROR_8030, "Content-Length -vs- Actual Read mismatch" },
{ NIRC_ERROR_8090, "Hostname unknown" },
{ NIRC_ERROR_8091, "Service unknown" },
{ NIRC_ERROR_8092, "Creating connection failed" },
{ NIRC_ERROR_8093, "NI-internal error" },
{ NIRC_ERROR_8094, "Connect from Source to Destination forbidden" },
{ NIRC_ERROR_8095, "Connection lost" },
{ NIRC_ERROR_8096, "Invalid Client-Version" },
{ NIRC_ERROR_8097, "Connection cancelled by Administrator" },
{ NIRC_ERROR_8098, "saprouter shutdown" },
{ NIRC_ERROR_8099, "Informations Request rejected" },
{ NIRC_ERROR_8100, "max. number of Clients reached" },
{ NIRC_ERROR_8101, "talkmode not allowed" },
{ NIRC_ERROR_8102, "client not available" },
{ NIRC_ERROR_8103, "error in external library" },
{ NIRC_ERROR_8104, "error in SNC layer" },
{ NIRC_ERROR_8200, "Unknown exception in Reader::Request" },
{ NIRC_ERROR_8201, "timeout while reading data" },
{ NIRC_ERROR_8202, "Couldn't stop monitoring thread" },
{ NIRC_ERROR_8401, "internal error:Unknown exception"},
{ NIRC_ERROR_8402, "unkown TCP/IP protocol"},
{ NIRC_ERROR_8403, "error in HTTP header"},
{ NIRC_ERROR_8404, "timeout occured"},
{ NIRC_ERROR_8405, "error while terminating thread"},

/* TRexTextminingEngine */
{ TMRC_INDEX_NOT_FOUND, "the specified TRexTextMining index could not
be found or is inaccessible"},
{ TMRC_FILE_NOT_FOUND, "a requested file could not be found in
TRexTextMining"},
{ TMRC_FILE_ERROR, "a file system error has occured (delete, create,
copy file) during TRexTExtMining request"},
{ TMRC_INDEX_EMPTY, "the requested TRexTExtMining index is empty"},
{ TMRC_INVALID_PARAMETER, "invalid parameter for TRexTextMining
request"},
{ TMRC_INVALID_DOCUMENT, "invalid document for TRexTextMining
request"},
{ TMRC_INVALID_INI_FILE, "ini-file of specified TRexTextMining index
is invalid"},
{ TMRC_ILLEGAL_OPERATION, "illegal operation for TRexTextMining"},
{ TMRC_NO_MEMORY, "insufficient memory to handle TRexTextMining
request"},
{ TMRC_NO_DISKSPACE, "insufficient disk memory to handle
TRexTextMining request"},
{ TMRC_INDEX_LOCKED, "unable to access TRexTextMining index, index is
locked"},
{ TMRC_OTHER_ERROR, "general TRexTextMining error"},
{ TMRC_INVALID_INDEX, "TRexTextMining index is invalid"},
{ TMRC_INVALID_OBJECT, "the requested TRexTextMining object is
invalid"},
{ TMRC_INVALID_ATTRIBUTE, "invalid attribute for TRexTextMining"},
{ TMRC_INVALID_VALUE, "invalid value for TRexTextMining"},
{ TMRC_INVALID_TERM, "invalid term for TRexTextMining"},
{ TMRC_INDEX_CORRUPTED, "TRexTextMining index is corrupted"},
{ TMRC_INITIALIZATION_ERROR, "TRexTextMining init error"},
{ TMRC_INSUFFICIENT_DOCUMENTS, "insufficient number documents of
documents for TRexTextMining"},
{ TMRC_ATTRIBUTE_ENGINE_ERROR, "error requesting of TRexAtributeEngine
from TRexTextMining"},
{ TMRC_DOCUMENT_TOO_BIG, "oversized document has been ignored for
TrexTextMining"},
{ TMRC_EMPTY_DOCUMENT, "empty document has been ignored thru
TRexTextMining Engine"},

/* -------------------- Proxy error messages (13000) -----------------


- */
{ PROXY_RC_13100, "HTTP-Proxy: Continue"},
{ PROXY_RC_13101, "HTTP-Proxy: SwitchingProtocols"},
{ PROXY_RC_13200, "HTTP-Proxy: OK"},
{ PROXY_RC_13201, "HTTP-Proxy: Created"},
{ PROXY_RC_13202, "HTTP-Proxy: Accepted"},
{ PROXY_RC_13203, "HTTP-Proxy: Non-AuthoritativeInformation"},
{ PROXY_RC_13204, "HTTP-Proxy: NoContent"},
{ PROXY_RC_13205, "HTTP-Proxy: ResetContent"},
{ PROXY_RC_13206, "HTTP-Proxy: PartialContent"},
{ PROXY_RC_13300, "HTTP-Proxy: MultipleChoices"},
{ PROXY_RC_13301, "HTTP-Proxy: MovedPermanently"},
{ PROXY_RC_13302, "HTTP-Proxy: Found"},
{ PROXY_RC_13303, "HTTP-Proxy: SeeOther"},
{ PROXY_RC_13304, "HTTP-Proxy: NotModified"},
{ PROXY_RC_13305, "HTTP-Proxy: UseProxy"},
{ PROXY_RC_13307, "HTTP-Proxy: TemporaryRedirect"},
{ PROXY_RC_13400, "HTTP-Proxy: BadRequest"},
{ PROXY_RC_13401, "HTTP-Proxy: Unauthorized"},
{ PROXY_RC_13402, "HTTP-Proxy: PaymentRequired"},
{ PROXY_RC_13403, "HTTP-Proxy: Forbidden"},
{ PROXY_RC_13404, "HTTP-Proxy: Url not Found"},
{ PROXY_RC_13405, "HTTP-Proxy: MethodNotAllowed"},
{ PROXY_RC_13406, "HTTP-Proxy: NotAcceptable"},
{ PROXY_RC_13407, "HTTP-Proxy: ProxyAuthenticationRequired"},
{ PROXY_RC_13408, "HTTP-Proxy: RequestTime-out"},
{ PROXY_RC_13409, "HTTP-Proxy: Conflict"},
{ PROXY_RC_13410, "HTTP-Proxy: Gone"},
{ PROXY_RC_13411, "HTTP-Proxy: LengthRequired"},
{ PROXY_RC_13412, "HTTP-Proxy: PreconditionFailed"},
{ PROXY_RC_13413, "HTTP-Proxy: RequestEntityTooLarge"},
{ PROXY_RC_13414, "HTTP-Proxy: Request-URITooLarge"},
{ PROXY_RC_13415, "HTTP-Proxy: UnsupportedMediaType"},
{ PROXY_RC_13416, "HTTP-Proxy: Requestedrangenotsatisfiable"},
{ PROXY_RC_13417, "HTTP-Proxy: ExpectationFailed"},
{ PROXY_RC_13500, "HTTP-Proxy: Hostname unknown"},
{ PROXY_RC_13501, "HTTP-Proxy: NotImplemented"},
{ PROXY_RC_13502, "HTTP-Proxy: BadGateway"},
{ PROXY_RC_13503, "HTTP-Proxy: ServiceUnavailable"},
{ PROXY_RC_13504, "HTTP-Proxy: GatewayTime-out"},
{ PROXY_RC_13505, "HTTP-Proxy: HTTP Version not supported"},
/* -------------------- SSL error messages (13000) ------------------
*/
{ SSL_RC_ERROR_16001, "SSL: rc=-1 lib_not_found"},
{ SSL_RC_ERROR_16002, "SSL: rc=-2 incompatible_lib"},
{ SSL_RC_ERROR_16003, "SSL: rc=-3 libinit_failed"},
{ SSL_RC_ERROR_16004, "SSL: rc=-4 out_of_memory"},
{ SSL_RC_ERROR_16005, "SSL: rc=-5 func_args"},
{ SSL_RC_ERROR_16006, "SSL: rc=-6 init_first"},
{ SSL_RC_ERROR_16007, "SSL: rc=-7 not_yet_implemented"},
{ SSL_RC_ERROR_16008, "SSL: rc=-8 internal_bug"},
{ SSL_RC_ERROR_16009, "SSL: rc=-9 unknown_behaviour"},
{ SSL_RC_ERROR_16010, "SSL: rc=-10 conn_closed"},
{ SSL_RC_ERROR_16011, "SSL: rc=-11 server_only"},
{ SSL_RC_ERROR_16012, "SSL: rc=-12 client_only"},
{ SSL_RC_ERROR_16013, "SSL: rc=-13 no_context_yet"},
{ SSL_RC_ERROR_16014, "SSL: rc=-14 bad_sssl_hdl"},
{ SSL_RC_ERROR_16015, "SSL: rc=-15 bad_auth_type"},
{ SSL_RC_ERROR_16016, "SSL: rc=-16 bad_role"},
{ SSL_RC_ERROR_16017, "SSL: rc=-17 session_not_started"},
{ SSL_RC_ERROR_16018, "SSL: rc=-18 session_already_started"},
{ SSL_RC_ERROR_16019, "SSL: rc=-19 peer_info_failed"},
{ SSL_RC_ERROR_16020, "SSL: rc=-20 no_client_cert"},
{ SSL_RC_ERROR_16021, "SSL: rc=-21 no_server_cert"},
{ SSL_RC_ERROR_16022, "SSL: rc=-22 sapparam_missing"},
{ SSL_RC_ERROR_16023, "SSL: rc=-23 need_ni_hdl"},
{ SSL_RC_ERROR_16024, "SSL: rc=-24 bad_ni_hdl"},
{ SSL_RC_ERROR_16025, "SSL: rc=-25 no_ssl_request"},
{ SSL_RC_ERROR_16026, "SSL: rc=-26 http_request"},
{ SSL_RC_ERROR_16027, "SSL: rc=-27 https_proxy_request"},
{ SSL_RC_ERROR_16028, "SSL: rc=-28 missing_target_hostname"},
{ SSL_RC_ERROR_16029, "SSL: rc=-29 thread_malfunct"},
{ SSL_RC_ERROR_16030, "SSL: rc=-30 server_cert_mismatch"},
{ SSL_RC_ERROR_16040, "SSL: rc=-40 pse_error"},
{ SSL_RC_ERROR_16041, "SSL: rc=-41 filename_truncated"},
{ SSL_RC_ERROR_16042, "SSL: rc=-42 cred_not_found"},
{ SSL_RC_ERROR_16043, "SSL: rc=-43 not_supported_by_secude"},
{ SSL_RC_ERROR_16044, "SSL: rc=-44 not_implemented_server"},
{ SSL_RC_ERROR_16045, "SSL: rc=-45 not_implemented_client"},
{ SSL_RC_ERROR_16050, "SSL: rc=-50 cert_file"},
{ SSL_RC_ERROR_16051, "SSL: rc=-51 privkey_file"},
{ SSL_RC_ERROR_16052, "SSL: rc=-52 cert_privkey_mismatch"},
{ SSL_RC_ERROR_16053, "SSL: rc=-53 ssl_set_ssl_method"},
{ SSL_RC_ERROR_16054, "SSL: rc=-54 sslctx_new"},
{ SSL_RC_ERROR_16055, "SSL: rc=-55 ssl_new"},
{ SSL_RC_ERROR_16056, "SSL: rc=-56 ssl_accept"},
{ SSL_RC_ERROR_16057, "SSL: rc=-57 ssl_connect"},
{ SSL_RC_ERROR_16058, "SSL: rc=-58 ssl_read"},
{ SSL_RC_ERROR_16059, "SSL: rc=-59 ssl_write"},
{ SSL_RC_ERROR_16080, "SSL: rc=-80 bad_x500dn_in_cert"},
{ SSL_RC_ERROR_16200, "SSL: rc=-200 unknown exception in
reader::request"},
{ SSL_RC_ERROR_16201, "SSL: rc=-201 timeout while reading data"},
{ SSL_RC_ERROR_16202, "SSL: rc=-202 couldn't stop monitoring
thread"},

/*TREXWrapper*/
{ WRAPPER_FAILED, "WRAPPER_FAILED"},
{ WRAPPER_NOT_REACHABLE, "WRAPPER_NOT_REACHABLE"},
{ WRAPPER_ACTIVITY_ERROR, "WRAPPER_ACTIVITY_ERROR"},
{ WRAPPER_INVALID_OUTPUT_DOCUMENT,
"WRAPPER_INVALID_OUTPUT_DOCUMENT"},
{ WRAPPER_DOC_NOT_CHANGED, "WRAPPER_DOC_NOT_CHANGED"},
{ WRAPPER_INCONSISTENT_DATA, "WRAPPER_INCONSISTENT_DATA"},
{ WRAPPER_PROTOCOL_MISMATCH, "WRAPPER_PROTOCOL_MISMATCH"},
{ WRAPPER_COMMUNICATION_ERROR, "WRAPPER_COMMUNICATION_ERROR"},

/* Cruiser Error messages */


{ CRUISER_URL_RETRY, "URL must be recrawled"},
{ CRUISER_URL_DELETE,"URL must be deleted"},
{ CRUISER_URL_HTTPGETNOTDONE,"URL not fetched as content is not
modified"},
{ CRUISER_INDEXDOC_MODIFIED, "Index Document modified"},
{ CRUISER_UNKNOWN_CODE, "Unsupported Error Code"},
{ CRUISER_INDEXID_DOESNOT_EXIST, "The specified IndexId doesnot
exist (TREXCruiser)"},
{ CRUISER_INVALID_CRUISE_NAME, "Invalid cruise name"},
{ CRUISER_SERVER_NOT_FOUND,"Either cruise does not exist or
cruiser server not found"},
{ CRUISER_SUSPEND_CRUISE_FAILED,"Suspend cruise Failed"},
{ CRUISER_CRUISE_NOT_EXISTS,"Cruise does not exist in cruiser
server"},
{ CRUISER_TREXNET_EXCEPTION,"Cruiser TREXNet Exception"},
{ CRUISER_GENERAL_EXCEPTION,"Cruiser General Exception"},
{ CRUISER_CRUISE_ALREADY_EXISTS,"Cruise does not exist in
cruiser server"},
{ CRUISER_CRUISE_SAVE_ERROR,"Error while saving cruise
information"},
{ CRUISER_THREAD_INITIALIZATION_FAILURE,"Failed to start cruiser
thread"},
{ CRUISER_INVALID_RUN_MODE, "Invalid run mode specified for
cruiser"},
{ CRUISER_LIST_CRUISES_FAILED,"Failed to list cruises"},
{ CRUISER_CLIENT_GENERAL_EXCEPTION, "Caught general exception at
cruiser client, probably cruiser crashed!!"},
{ CRUISER_URL_YET_TO_BE_VISITED, "This url is yet to be visited"},
{ CRUISER_URL_ALREADY_VISITED, "This url is already visited"},
{ CRUISER_INVALID_INPUT_GETURLINFOS, "Invalid input entered,
please check the maxCount, start, end inputs"},
{ CRUISER_LOCK_ACQUIRING_FAILED, "Failed to acquire a read lock!"},
{ CRUISER_INVALID_POOLSIZE, "The Poolsize specified for cruise is
invalid, please provide a size greater than 0"},
{ CRUISER_UPDATE_CRUISE_FAILED, "Update of cruise failed!"},
{ CRUISER_MAGIC_URL_ERROR_CODE_PROTECTED, "Please contact System
Administrator immediately(message must never appear)!"},
{ CRUISER_URL_DOESNOT_EXIST, "The specified url doesnot exist in
the cruiserDB" },
{ CRUISER_URL_INVALID, "The specified url is not valid" },

/* R3Scheduler Error messages */


{R3SCHEDULER_INVALID_SCHEDULERTASK_NAME , "Invalid scheduler task
name"},
{R3SCHEDULER_LIST_SCHEDULERTASKS_FAILED, "Failed to list scheduler
tasks"},
{R3SCHEDULER_REPLNRULE_ALREADY_EXISTS, "Replication rule already
exists with the same name"},
{R3SCHEDULER_REPLNRULE_FREQUENCY_ZERO, "Frequency is either
invalid or 0 for the replication rule"},
{R3SCHEDULER_SERVER_NOT_FOUND, "Either scheduler task does not
exist or cruiser server not found"},
{R3SCHEDULER_REPLNSTORE_DELETE_ERROR, "Failed to delete repication
object from replication store"},
{R3SCHEDULER_REPLNRULE_NOT_EXISTS, "Replication rule does not
exist"},
{R3SCHEDULER_REPLNRULE_OBJECT_NULL, "NULL value passed for
replication rule object"},
{R3SCHEDULER_READLOCK_ACQUIRE_ERROR, "Could not acquire read lock
on replication store"},
{R3SCHEDULER_SCHEDULABLE_NOT_EXISTS,"Scheduler task with given
name does not exist"},
{R3SCHEDULER_SCHEDULABLE_ALREADY_EXISTS,"Scheduler task with given
name already exists"},
{R3SCHEDULER_SCHEDULABLE_OBJECT_NULL, "NULL value passed for
schedulable object"},
{R3SCHEDULER_TREXNET_EXCEPTION,"TrexNet exception occured while
communicating with R3Scheduler"},
{R3SCHEDULER_STARTUPINFO_INVALID,"Invalid startup information
passed for scheduler task"},
{R3SCHEDULER_GENERAL_EXCEPTION,"R3Scheduler: General/Unknown
exception"},
{R3SCHEDULER_NOTHING_TO_UPDATE, "R3Scheduler: No information needs
to be updated for this replication rule object"},
{R3SCHEDULER_CLIENT_GENERAL_EXCEPTION, "R3Schedulerclient, caught
general exception, probably TREXR3Scheduler crashed!!"},
{JOIN_INVALID_QUERY, "Invalid join query"},
{JOIN_IDX_NOT_PART_OF_LOGICALIDX, "Join index not part of logical
index"},
{JOIN_ATTR_NOT_PART_OF_JOIN, "Attribute requested which is not
part of a join"},
{JOIN_DISTINCT_ATTR_WITH_TEXTATTR, "Distinct attribute not
supported for text attributes"},
{JOIN_DISTINCT_SORT_NOT_REQUESTED, "Distinct attribute with
sorting and sort attribute not requested is not supported."},
{JOIN_NOT_A_JOIN_INDEX, "Not a join index. Join queries require a
logical join index."},
{JOIN_COULD_NOT_ASSIGN_PRECONDITIONS, "Could not assign
precondition."},
{JOIN_NOT_CONNECTED, "Join graph not connected."},
{JOIN_CANNOT_CREATE_PLAN, "Can't create plan for join query."},
{JOIN_SORT_INDEX_UNKOWN, "Unknown sort index."},
{JOIN_SORT_MULTIPLE_INDEXES, "Sort with multiple indexes not
supported."},
{JOIN_MISSING_LANGUAGE, "No language specified for attribute."},
{JOIN_METAMODEL_ONLY, "Joins given in query not supported. All joins
must be defined in metamodel."},
{JOIN_UNKNOWN_VIEWATTR, "Unknown view attribute."},
{JOIN_SORT_NOT_IN_JOINGRAPH, "Sort index not part of joingraph."},
{JOIN_MULTIPLE_VIEWS_IN_QUERY, "Multiple views in query."},
{JOIN_UNKNOWN_VIEW, "Unknown view in viewattribute."},
{JOIN_INVALID_SYNCPOINT, "Index syncpoint mismatch."},
/* --------------------- AlertMonitor ---------------------- */
{ ALERT_RC_NOT_IMPLEMENTED, "Feature has not been
implemented" },
{ ALERT_RC_BAD_HTTP_STATUS, "AlertServer returned bad
status code" },
{ ALERT_RC_NO_HTTP_RESPONSE, "No HTTP response from
AlertServer" },
{ ALERT_RC_COMMUNICATION_ERROR, "An error occured while
communicating with the AlertServer"},
{ ALERT_RC_PARSE_ERROR, "Error while parsing response
from AlertServer"},
{ ALERT_RC_CONFIGURATION_ERROR, "Error in the configuration of
AlertServer. Check TRexAlertServer.ini and see that it is writable."},

{0, NULL}

Vous aimerez peut-être aussi