File indexing completed on 2025-01-18 10:15:15
0001
0002
0003 #if !defined(XERCESC_INCLUDE_GUARD_ERRHEADER_XMLExcepts)
0004 #define XERCESC_INCLUDE_GUARD_ERRHEADER_XMLExcepts
0005
0006 #include <xercesc/util/XercesDefs.hpp>
0007 #include <xercesc/dom/DOMError.hpp>
0008
0009 XERCES_CPP_NAMESPACE_BEGIN
0010
0011
0012 #if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
0013 # pragma GCC diagnostic push
0014 # pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
0015 #endif
0016
0017 class XMLExcepts
0018 {
0019 public :
0020 enum Codes
0021 {
0022 NoError = 0
0023 , W_LowBounds = 1
0024 , Scan_CouldNotOpenSource_Warning = 2
0025 , W_HighBounds = 3
0026 , F_LowBounds = 4
0027 , Array_BadIndex = 5
0028 , Array_BadNewSize = 6
0029 , AttrList_BadIndex = 7
0030 , AttDef_BadAttType = 8
0031 , AttDef_BadDefAttType = 9
0032 , Bitset_BadIndex = 10
0033 , Bitset_NotEqualSize = 11
0034 , BufMgr_NoMoreBuffers = 12
0035 , BufMgr_BufferNotInPool = 13
0036 , CPtr_PointerIsZero = 14
0037 , CM_BinOpHadUnaryType = 15
0038 , CM_MustBeMixedOrChildren = 16
0039 , CM_NoPCDATAHere = 17
0040 , CM_UnaryOpHadBinType = 18
0041 , CM_UnknownCMType = 19
0042 , CM_UnknownCMSpecType = 20
0043 , CM_NoParentCSN = 21
0044 , CM_NotValidSpecTypeForNode = 22
0045 , DTD_UnknownCreateReason = 23
0046 , ElemStack_EmptyStack = 24
0047 , ElemStack_StackUnderflow = 25
0048 , ElemStack_NoParentPushed = 26
0049 , Enum_NoMoreElements = 27
0050 , File_CouldNotOpenFile = 28
0051 , File_CouldNotGetCurPos = 29
0052 , File_CouldNotCloseFile = 30
0053 , File_CouldNotSeekToEnd = 31
0054 , File_CouldNotSeekToPos = 32
0055 , File_CouldNotDupHandle = 33
0056 , File_CouldNotReadFromFile = 34
0057 , File_CouldNotWriteToFile = 35
0058 , File_CouldNotResetFile = 36
0059 , File_CouldNotGetSize = 37
0060 , File_CouldNotGetBasePathName = 38
0061 , Gen_ParseInProgress = 39
0062 , Gen_NoDTDValidator = 40
0063 , Gen_CouldNotOpenDTD = 41
0064 , Gen_CouldNotOpenExtEntity = 42
0065 , Gen_UnexpectedEOF = 43
0066 , HshTbl_ZeroModulus = 44
0067 , HshTbl_BadHashFromKey = 45
0068 , HshTbl_NoSuchKeyExists = 46
0069 , Mutex_CouldNotDestroy = 47
0070 , NetAcc_InternalError = 48
0071 , NetAcc_CurlError = 49
0072 , NetAcc_LengthError = 50
0073 , NetAcc_InitFailed = 51
0074 , NetAcc_TargetResolution = 52
0075 , NetAcc_CreateSocket = 53
0076 , NetAcc_ConnSocket = 54
0077 , NetAcc_WriteSocket = 55
0078 , NetAcc_ReadSocket = 56
0079 , NetAcc_UnsupportedMethod = 57
0080 , Pool_ElemAlreadyExists = 58
0081 , Pool_InvalidId = 59
0082 , Pool_ZeroModulus = 60
0083 , RdrMgr_ReaderIdNotFound = 61
0084 , Reader_BadAutoEncoding = 62
0085 , Reader_CouldNotDecodeFirstLine = 63
0086 , Reader_NelLsepinDecl = 64
0087 , Reader_SrcOfsNotSupported = 65
0088 , Reader_EncodingStrRequired = 66
0089 , Scan_CouldNotOpenSource = 67
0090 , Scan_UnbalancedStartEnd = 68
0091 , Scan_BadPScanToken = 69
0092 , Stack_BadIndex = 70
0093 , Stack_EmptyStack = 71
0094 , Str_ZeroSizedTargetBuf = 72
0095 , Str_UnknownRadix = 73
0096 , Str_TargetBufTooSmall = 74
0097 , Str_StartIndexPastEnd = 75
0098 , Str_ConvertOverflow = 76
0099 , StrPool_IllegalId = 77
0100 , Trans_Unrepresentable = 78
0101 , Trans_BadSrcSeq = 79
0102 , Trans_BadSrcCP = 80
0103 , Trans_BadTrailingSurrogate = 81
0104 , Trans_CantCreateCvtrFor = 82
0105 , URL_MalformedURL = 83
0106 , URL_UnsupportedProto = 84
0107 , URL_UnsupportedProto1 = 85
0108 , URL_NoProtocolPresent = 86
0109 , URL_ExpectingTwoSlashes = 87
0110 , URL_RelativeBaseURL = 88
0111 , URL_BadPortField = 89
0112 , UTF8_FormatError = 90
0113 , UTF8_Invalid_3BytesSeq = 91
0114 , UTF8_Irregular_3BytesSeq = 92
0115 , UTF8_Invalid_4BytesSeq = 93
0116 , UTF8_Exceeds_BytesLimit = 94
0117 , Vector_BadIndex = 95
0118 , Val_InvalidElemId = 96
0119 , Val_CantHaveIntSS = 97
0120 , XMLRec_UnknownEncoding = 98
0121 , Parser_Parse1 = 99
0122 , Parser_Parse2 = 100
0123 , Parser_Next1 = 101
0124 , Parser_Next2 = 102
0125 , Parser_Next3 = 103
0126 , Parser_Next4 = 104
0127 , Parser_Factor1 = 105
0128 , Parser_Factor2 = 106
0129 , Parser_Factor3 = 107
0130 , Parser_Factor4 = 108
0131 , Parser_Factor5 = 109
0132 , Parser_Factor6 = 110
0133 , Parser_Atom1 = 111
0134 , Parser_Atom2 = 112
0135 , Parser_Atom3 = 113
0136 , Parser_Atom4 = 114
0137 , Parser_Atom5 = 115
0138 , Parser_CC1 = 116
0139 , Parser_CC2 = 117
0140 , Parser_CC3 = 118
0141 , Parser_CC5 = 119
0142 , Parser_CC6 = 120
0143 , Parser_Ope1 = 121
0144 , Parser_Ope2 = 122
0145 , Parser_Ope3 = 123
0146 , Parser_Descape1 = 124
0147 , Parser_Descape3 = 125
0148 , Parser_Descape4 = 126
0149 , Parser_Descape5 = 127
0150 , Parser_Process2 = 128
0151 , Parser_Quantifier1 = 129
0152 , Parser_Quantifier2 = 130
0153 , Parser_Quantifier3 = 131
0154 , Parser_Quantifier4 = 132
0155 , Parser_Quantifier5 = 133
0156 , Gen_NoSchemaValidator = 134
0157 , SubGrpComparator_NGR = 135
0158 , FACET_Invalid_Len = 136
0159 , FACET_Invalid_maxLen = 137
0160 , FACET_Invalid_minLen = 138
0161 , FACET_NonNeg_Len = 139
0162 , FACET_NonNeg_maxLen = 140
0163 , FACET_NonNeg_minLen = 141
0164 , FACET_Len_maxLen = 142
0165 , FACET_Len_minLen = 143
0166 , FACET_maxLen_minLen = 144
0167 , FACET_Invalid_Tag = 145
0168 , FACET_Len_baseLen = 146
0169 , FACET_minLen_baseminLen = 147
0170 , FACET_minLen_basemaxLen = 148
0171 , FACET_maxLen_basemaxLen = 149
0172 , FACET_maxLen_baseminLen = 150
0173 , FACET_Len_baseMinLen = 151
0174 , FACET_Len_baseMaxLen = 152
0175 , FACET_minLen_baseLen = 153
0176 , FACET_maxLen_baseLen = 154
0177 , FACET_enum_base = 155
0178 , FACET_Invalid_WS = 156
0179 , FACET_WS_collapse = 157
0180 , FACET_WS_replace = 158
0181 , FACET_Invalid_MaxIncl = 159
0182 , FACET_Invalid_MaxExcl = 160
0183 , FACET_Invalid_MinIncl = 161
0184 , FACET_Invalid_MinExcl = 162
0185 , FACET_Invalid_TotalDigit = 163
0186 , FACET_Invalid_FractDigit = 164
0187 , FACET_PosInt_TotalDigit = 165
0188 , FACET_NonNeg_FractDigit = 166
0189 , FACET_max_Incl_Excl = 167
0190 , FACET_min_Incl_Excl = 168
0191 , FACET_maxExcl_minExcl = 169
0192 , FACET_maxExcl_minIncl = 170
0193 , FACET_maxIncl_minExcl = 171
0194 , FACET_maxIncl_minIncl = 172
0195 , FACET_TotDigit_FractDigit = 173
0196 , FACET_maxIncl_base_maxExcl = 174
0197 , FACET_maxIncl_base_maxIncl = 175
0198 , FACET_maxIncl_base_minIncl = 176
0199 , FACET_maxIncl_base_minExcl = 177
0200 , FACET_maxExcl_base_maxExcl = 178
0201 , FACET_maxExcl_base_maxIncl = 179
0202 , FACET_maxExcl_base_minIncl = 180
0203 , FACET_maxExcl_base_minExcl = 181
0204 , FACET_minExcl_base_maxExcl = 182
0205 , FACET_minExcl_base_maxIncl = 183
0206 , FACET_minExcl_base_minIncl = 184
0207 , FACET_minExcl_base_minExcl = 185
0208 , FACET_minIncl_base_maxExcl = 186
0209 , FACET_minIncl_base_maxIncl = 187
0210 , FACET_minIncl_base_minIncl = 188
0211 , FACET_minIncl_base_minExcl = 189
0212 , FACET_maxIncl_notFromBase = 190
0213 , FACET_maxExcl_notFromBase = 191
0214 , FACET_minIncl_notFromBase = 192
0215 , FACET_minExcl_notFromBase = 193
0216 , FACET_totalDigit_base_totalDigit = 194
0217 , FACET_fractDigit_base_totalDigit = 195
0218 , FACET_fractDigit_base_fractDigit = 196
0219 , FACET_maxIncl_base_fixed = 197
0220 , FACET_maxExcl_base_fixed = 198
0221 , FACET_minIncl_base_fixed = 199
0222 , FACET_minExcl_base_fixed = 200
0223 , FACET_totalDigit_base_fixed = 201
0224 , FACET_fractDigit_base_fixed = 202
0225 , FACET_maxLen_base_fixed = 203
0226 , FACET_minLen_base_fixed = 204
0227 , FACET_whitespace_base_fixed = 205
0228 , FACET_internalError_fixed = 206
0229 , FACET_List_Null_baseValidator = 207
0230 , FACET_Union_Null_memberTypeValidators = 208
0231 , FACET_Union_Null_baseValidator = 209
0232 , FACET_Union_invalid_baseValidatorType = 210
0233 , VALUE_NotMatch_Pattern = 211
0234 , VALUE_Not_Base64 = 212
0235 , VALUE_Not_HexBin = 213
0236 , VALUE_GT_maxLen = 214
0237 , VALUE_LT_minLen = 215
0238 , VALUE_NE_Len = 216
0239 , VALUE_NotIn_Enumeration = 217
0240 , VALUE_exceed_totalDigit = 218
0241 , VALUE_exceed_fractDigit = 219
0242 , VALUE_exceed_maxIncl = 220
0243 , VALUE_exceed_maxExcl = 221
0244 , VALUE_exceed_minIncl = 222
0245 , VALUE_exceed_minExcl = 223
0246 , VALUE_WS_replaced = 224
0247 , VALUE_WS_collapsed = 225
0248 , VALUE_Invalid_NCName = 226
0249 , VALUE_Invalid_Name = 227
0250 , VALUE_ID_Not_Unique = 228
0251 , VALUE_ENTITY_Invalid = 229
0252 , VALUE_QName_Invalid = 230
0253 , VALUE_NOTATION_Invalid = 231
0254 , VALUE_no_match_memberType = 232
0255 , VALUE_URI_Malformed = 233
0256 , XMLNUM_emptyString = 234
0257 , XMLNUM_WSString = 235
0258 , XMLNUM_2ManyDecPoint = 236
0259 , XMLNUM_Inv_chars = 237
0260 , XMLNUM_null_ptr = 238
0261 , XMLNUM_URI_Component_Empty = 239
0262 , XMLNUM_URI_Component_for_GenURI_Only = 240
0263 , XMLNUM_URI_Component_Invalid_EscapeSequence = 241
0264 , XMLNUM_URI_Component_Invalid_Char = 242
0265 , XMLNUM_URI_Component_Set_Null = 243
0266 , XMLNUM_URI_Component_Not_Conformant = 244
0267 , XMLNUM_URI_No_Scheme = 245
0268 , XMLNUM_URI_NullHost = 246
0269 , XMLNUM_URI_NullPath = 247
0270 , XMLNUM_URI_PortNo_Invalid = 248
0271 , XMLNUM_DBL_FLT_InvalidType = 249
0272 , Regex_Result_Not_Set = 250
0273 , Regex_CompactRangesError = 251
0274 , Regex_MergeRangesTypeMismatch = 252
0275 , Regex_SubtractRangesError = 253
0276 , Regex_IntersectRangesError = 254
0277 , Regex_ComplementRangesInvalidArg = 255
0278 , Regex_InvalidCategoryName = 256
0279 , Regex_KeywordNotFound = 257
0280 , Regex_BadRefNo = 258
0281 , Regex_UnknownOption = 259
0282 , Regex_UnknownTokenType = 260
0283 , Regex_RangeTokenGetError = 261
0284 , Regex_NotSupported = 262
0285 , Regex_InvalidChildIndex = 263
0286 , Regex_RepPatMatchesZeroString = 264
0287 , Regex_InvalidRepPattern = 265
0288 , NEL_RepeatedCalls = 266
0289 , Out_Of_Memory = 267
0290 , DV_InvalidOperation = 268
0291 , XPath_NoAttrSelector = 269
0292 , XPath_NoUnionAtStart = 270
0293 , XPath_NoMultipleUnion = 271
0294 , XPath_MissingAttr = 272
0295 , XPath_ExpectedToken1 = 273
0296 , XPath_PrefixNoURI = 274
0297 , XPath_NoDoubleColon = 275
0298 , XPath_ExpectedStep1 = 276
0299 , XPath_ExpectedStep2 = 277
0300 , XPath_ExpectedStep3 = 278
0301 , XPath_NoForwardSlash = 279
0302 , XPath_NoDoubleForwardSlash = 280
0303 , XPath_NoForwardSlashAtStart = 281
0304 , XPath_NoSelectionOfRoot = 282
0305 , XPath_EmptyExpr = 283
0306 , XPath_NoUnionAtEnd = 284
0307 , XPath_InvalidChar = 285
0308 , XPath_TokenNotSupported = 286
0309 , XPath_FindSolution = 287
0310 , DateTime_dt_invalid = 288
0311 , DateTime_dt_missingT = 289
0312 , DateTime_gDay_invalid = 290
0313 , DateTime_gMth_invalid = 291
0314 , DateTime_gMthDay_invalid = 292
0315 , DateTime_dur_invalid = 293
0316 , DateTime_dur_Start_dashP = 294
0317 , DateTime_dur_noP = 295
0318 , DateTime_dur_DashNotFirst = 296
0319 , DateTime_dur_inv_b4T = 297
0320 , DateTime_dur_NoTimeAfterT = 298
0321 , DateTime_dur_NoElementAtAll = 299
0322 , DateTime_dur_inv_seconds = 300
0323 , DateTime_date_incomplete = 301
0324 , DateTime_date_invalid = 302
0325 , DateTime_time_incomplete = 303
0326 , DateTime_time_invalid = 304
0327 , DateTime_ms_noDigit = 305
0328 , DateTime_ym_incomplete = 306
0329 , DateTime_ym_invalid = 307
0330 , DateTime_year_invalid = 308
0331 , DateTime_year_tooShort = 309
0332 , DateTime_year_leadingZero = 310
0333 , DateTime_ym_noMonth = 311
0334 , DateTime_tz_noUTCsign = 312
0335 , DateTime_tz_stuffAfterZ = 313
0336 , DateTime_tz_invalid = 314
0337 , DateTime_year_zero = 315
0338 , DateTime_mth_invalid = 316
0339 , DateTime_day_invalid = 317
0340 , DateTime_hour_invalid = 318
0341 , DateTime_min_invalid = 319
0342 , DateTime_second_invalid = 320
0343 , DateTime_tz_hh_invalid = 321
0344 , PD_EmptyBase = 322
0345 , PD_NSCompat1 = 323
0346 , PD_OccurRangeE = 324
0347 , PD_NameTypeOK1 = 325
0348 , PD_NameTypeOK2 = 326
0349 , PD_NameTypeOK3 = 327
0350 , PD_NameTypeOK4 = 328
0351 , PD_NameTypeOK5 = 329
0352 , PD_NameTypeOK6 = 330
0353 , PD_NameTypeOK7 = 331
0354 , PD_Recurse1 = 332
0355 , PD_Recurse2 = 333
0356 , PD_ForbiddenRes1 = 334
0357 , PD_ForbiddenRes2 = 335
0358 , PD_ForbiddenRes3 = 336
0359 , PD_ForbiddenRes4 = 337
0360 , PD_NSSubset1 = 338
0361 , PD_NSSubset2 = 339
0362 , PD_NSRecurseCheckCardinality1 = 340
0363 , PD_RecurseUnordered = 341
0364 , PD_MapAndSum = 342
0365 , PD_InvalidContentType = 343
0366 , NodeIDMap_GrowErr = 344
0367 , XSer_ProtoType_Null_ClassName = 345
0368 , XSer_ProtoType_NameLen_Dif = 346
0369 , XSer_ProtoType_Name_Dif = 347
0370 , XSer_InStream_Read_LT_Req = 348
0371 , XSer_InStream_Read_OverFlow = 349
0372 , XSer_Storing_Violation = 350
0373 , XSer_StoreBuffer_Violation = 351
0374 , XSer_LoadPool_UppBnd_Exceed = 352
0375 , XSer_LoadPool_NoTally_ObjCnt = 353
0376 , XSer_Loading_Violation = 354
0377 , XSer_LoadBuffer_Violation = 355
0378 , XSer_Inv_ClassIndex = 356
0379 , XSer_Inv_checkFillBuffer_Size = 357
0380 , XSer_Inv_checkFlushBuffer_Size = 358
0381 , XSer_Inv_Null_Pointer = 359
0382 , XSer_CreateObject_Fail = 360
0383 , XSer_ObjCount_UppBnd_Exceed = 361
0384 , XSer_GrammarPool_Empty = 362
0385 , XSer_GrammarPool_NotEmpty = 363
0386 , XSer_StringPool_NotEmpty = 364
0387 , XSer_Storer_Loader_Mismatch = 365
0388 , VALUE_QName_Invalid2 = 366
0389 , F_HighBounds = 367
0390 , E_LowBounds = 368
0391 , E_HighBounds = 369
0392 };
0393
0394
0395 private:
0396
0397
0398
0399 XMLExcepts();
0400 };
0401
0402 #if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
0403 # pragma GCC diagnostic pop
0404 #endif
0405
0406 XERCES_CPP_NAMESPACE_END
0407
0408 #endif
0409