public enum ErrorCodes { dtsErOK = 0, dtsErAccIndex = 1, dtsAskDiskFullOverride = 2, dtsErOpenTemp = 3, dtsInfNoFilesToIndex = 4, dtsErIxWrongVersion = 5, dtsErIxInterrupted = 6, dtsErAccDirectory = 7, dtsErWorkDirFail = 8, dtsErAccFile = 9, dtsErFileCorrupt = 10, dtsErIndexFull = 11, dtsErPdfLzwNotLicensed = 12, dtsErTimeout = 13, dtsErCreateFailed = 14, dtsErCommitFailed = 15, dtsErFileNotFound = 16, dtsErFileEncrypted = 17, dtsErApiError = 18, dtsErDataSourceException = 19, dtsErBlankFilename = 20, dtsErFileEmpty = 21, dtsErInvalidHandle = 22, dtsErConflictingDocIdRanges = 23, dtsErLowMemory = 112, dtsErBadRequest = 116, dtsErSearchRequestEmpty = 117, dtsErSearchLimitReached = 120, dtsErNoFilesRetrieved = 122, dtsErRequestTooLong = 135, dtsErMaxWords = 137, dtsErWrFile = 143, dtsErDiskFull = 159, dtsErIxCorrupt = 162, dtsErAccessDenied = 177, dtsErConnectFailed = 201, dtsErAccCachedDoc = 202, dtsErIndexingError = 203, dtsErOutOfMemory = 204, dtsErUnknownException = 205 }
Public Enum ErrorCodes dtsErOK = 0 dtsErAccIndex = 1 dtsAskDiskFullOverride = 2 dtsErOpenTemp = 3 dtsInfNoFilesToIndex = 4 dtsErIxWrongVersion = 5 dtsErIxInterrupted = 6 dtsErAccDirectory = 7 dtsErWorkDirFail = 8 dtsErAccFile = 9 dtsErFileCorrupt = 10 dtsErIndexFull = 11 dtsErPdfLzwNotLicensed = 12 dtsErTimeout = 13 dtsErCreateFailed = 14 dtsErCommitFailed = 15 dtsErFileNotFound = 16 dtsErFileEncrypted = 17 dtsErApiError = 18 dtsErDataSourceException = 19 dtsErBlankFilename = 20 dtsErFileEmpty = 21 dtsErInvalidHandle = 22 dtsErConflictingDocIdRanges = 23 dtsErLowMemory = 112 dtsErBadRequest = 116 dtsErSearchRequestEmpty = 117 dtsErSearchLimitReached = 120 dtsErNoFilesRetrieved = 122 dtsErRequestTooLong = 135 dtsErMaxWords = 137 dtsErWrFile = 143 dtsErDiskFull = 159 dtsErIxCorrupt = 162 dtsErAccessDenied = 177 dtsErConnectFailed = 201 dtsErAccCachedDoc = 202 dtsErIndexingError = 203 dtsErOutOfMemory = 204 dtsErUnknownException = 205 End Enum
|
Members |
Description |
|
dtsErOK |
No error |
|
dtsErAccIndex |
Unable to access index |
|
dtsAskDiskFullOverride |
If IndexingFlags.dtsCheckDiskSpace was set in an IndexJob, and if it appears that disk space is insufficient, then dtsAskDiskFullOverride will be sent to the error handler; the calling program should always allow the update to be cancelled in this case (the default action). |
|
dtsErOpenTemp |
Unable to open temporary file. |
|
dtsInfNoFilesToIndex |
Obsolete; no longer used. |
|
dtsErIxWrongVersion |
Index built by incompatible version of dtSearch |
|
dtsErIxInterrupted |
Obsolete; no longer used. |
|
dtsErAccDirectory |
Unable to create or access directory |
|
dtsErWorkDirFail |
Private directory is already locked |
|
dtsErAccFile |
Unable to access input file |
|
dtsErFileCorrupt |
File format error reading input file |
|
dtsErIndexFull |
Index is full |
|
dtsErPdfLzwNotLicensed |
Obsolete; no longer used. |
|
dtsErTimeout |
Operation timed out (trigged by timeoutSeconds) |
|
dtsErCreateFailed |
Unable to create index |
|
dtsErCommitFailed |
Unable to commit changes to index |
|
dtsErFileNotFound |
The document was not found in the index (returned when a document listed to be removed from an index is not found in the index) |
|
dtsErFileEncrypted |
The document could not be accessed due to encryption |
|
dtsErApiError |
Incorrectly configured API structure (for example, invalid dtSearchJob) |
|
dtsErDataSourceException |
Exception thrown by data source |
|
dtsErBlankFilename |
Filename is blank |
|
dtsErFileEmpty |
File contains no data |
|
dtsErInvalidHandle |
A handle passed to a dtSearch API function was invalid |
|
dtsErConflictingDocIdRanges |
In an index merge, the flag dtsIndexKeepExistingDocIds was set and one or more indexes had overlapping doc id ranges |
|
dtsErLowMemory |
Search halted due to low memory available |
|
dtsErBadRequest |
Syntax error in search request |
|
dtsErSearchRequestEmpty |
Search request is blank |
|
dtsErSearchLimitReached |
Search found more files than the autoStopLimit for the search job |
|
dtsErNoFilesRetrieved |
No files retrieved in search |
|
dtsErRequestTooLong |
Search request was longer than dtsMaxSearchRequestLen |
|
dtsErMaxWords |
Too many words retrieved in index |
|
dtsErWrFile |
Unable to write output file |
|
dtsErDiskFull |
Disk full -- indexing halted |
|
dtsErIxCorrupt |
Index is corrupt |
|
dtsErAccessDenied |
Access to the index was denied |
|
dtsErConnectFailed |
Unable to connect to data source during indexing |
|
dtsErAccCachedDoc |
Unable to access cached document in index |
|
dtsErIndexingError |
Index update could not complete due to an error accessing the index |
|
dtsErOutOfMemory |
An out-of-memory error occurred |
|
dtsErUnknownException |
An unexpected exception occurred |
Error codes are returned after a job completes. In the C++ API, use the dtsErrorInfo attached to a job to access error codes. In .NET, use the Errors property of the job. In Java, use getErrors().
|
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.
|