Click or drag to resize
ErrorCode Enumeration
Defines the error codes which are returned by certain operations or are included in LanguagePlatformExceptions.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public enum ErrorCode
Members
  Member nameValueDescription
OK0 Indicates success/no error.
System1 Indicates a system-generated error/exception.
StorageError2 Indicates that an error occurred during storage access/storing the translation unit.
EmptySourceSegment3 Indicates that the source segment is empty.
InvalidSourceSegment4 Indicates that the source segment is invalid.
EmptyTargetSegment5 Indicates that the target segment is empty.
InvalidTargetSegment6 Indicates thath the target segment is invalid.
SourceLanguageIncompatibleWithTM7 Indicates that the source language is not compatible with the translation memory being used.
TargetLanguageIncompatibleWithTM8 Indicates that the target language is not compatible with the translation memory being used.
Other9 Indicates that an unspecified error occurred.
UndefinedOrInvalidLanguage10 Indicates that a segment's or TU's language is not set or is invalid.
NeutralLanguage11 Indicates that a segment's culture is neutral, i.e. has no region-qualifier ("en")
EmptySegment12 Indicates that a segment is empty.
InvalidSegment13 Indicates that a segment is invalid.
InvalidSegmentPeripheralWhitespace14 Indicates that a segment is invalid as it starts or ends with at least one whitespace character.
NoTextInSegment15 Indicates that a segment consists only of tags and no text was found.
TagInvalidTagAnchor16 Indicates that a tag anchor is empty, not set, or invalid.
TagEmptyOrInvalidTagID17 Indicates that a tag ID is empty, not set, or invalid.
TagAnchorAlreadyUsed18 Indicates that a tag anchor in a segment has been used more than once for different tag instances.
TagAnchorNotOpen19 Indicates that a tag anchor assigned to an end tag hasn't yet been seen at the corresponding start tag.
TagAnchorAlreadyClosed20 Indicates that a tag anchor assigned to an end tag has already been used for a previously seen end tag.
TagAnchorNotClosed21 Indicates that a tag anchor occurred only at a start tag, but has no corresponding closing tag.
TagWarningTagsDropped22 Indicates that a TU was invalid due to tag errors and that these tags were dropped to ensure the TU could be correctly imported.
NotImplemented23 Indicates that some required functionality hasn't yet been implemented.
TMNotFound24 A translation memory with the specified name or ID could not be found.
TMOrContainerMissing25 The translation memory or TM container appears to be missing and may have been deleted.
SegmentationUnknownVariable26 A segmentation rule contained a variable reference which is unresolved.
SegmentationNoRulesForLanguage27 No segmentation rules are available for the specified language.
SegmentationRuleDeserializationError28 An error occurred during deserializaton of the segmentation rules.
SegmentationRuleLoadError29 The segmentation rules could not be loaded.
SegmentationEmptyRuleSet30 The segmentation rules are empty.
SegmentationIllegalKeywordInRule31 The segmentation rule could not be parsed due to an unknown keyword.
SegmentationIllegalContinuation32 The segmentation rule could not be parsed due to an invalid continuation specifier.
SegmentationTrailingJunk33 The segmentation rule could not be parsed due to trailing junk.
SegmentationUnknownRuleType34 The segmentation rule could not be parsed due to an unknown rule type.
SegmentationInvalidVariableName35 The segmentation rule could not be parsed due to an invalid variable reference.
SegmentationInvalidRule36 The segmentation rule is invalid.
SegmentationCannotObtainSegmentor37 The system could not obtain a segmentor for the specified language.
SegmentationSRXParseError38 Error during parsing SRX document
SegmentationSRXNoVersion39 No version information found in SRX header
SegmentationSRXUnsupportedVersion40 Unsupported SRX version
SegmentationSRXInternalError41 Internal SRX parser error
SegmentationSRXInvalidDocument42 Invalid SRX document
SegmentationTWBMalformedRule43 Invalid TWB segmentation rule
SegmentationTWBUnsupportedNestedExceptions44 Nested exception found in TWB rule (unsupported)
SegmentationTWBUnsupportedExceptionConstraints45 Too many exception constraints detected in TWB rule (unsupported)
SegmentationTWBUnsupportedMultipleMatchContexts46 Multiple positive match contexts detected in TWB rule (unsupported)
ConfigurationCannotLoad47 The configuration could not be loaded.
ConfigurationCannotResolveType48 A type referenced in the configuration could not be resolved.
ConfigurationInvalidType49 A type referenced in the configuration is invalid for the desired operation.
ConfigurationAbstractType50 A type referenced in the configuration is abstract and cannot be instantiated.
ConfigurationCannotInstantiateOrCastType51 A type referenced in the configuration could not be instantiated or casted.
ConfigurationConnectionStringNotFound52 A required connection string could not be found in the configuration file.
ConfigurationUnknownProviderType53 A provider type specified in the configuration is unknown.
ConfigurationOtherError54 An unspecified error occurred in the configuration.
AuthInsufficientPermissions55 You don't have sufficient permissions to execute this method.
AuthUnknownOrNonauthenticatedUser56 The calling user is unknown or not authenticated.
AuthInvalidUser57 The calling user is invalid.
TMInvalidFieldName58 A field name is invalid.
TMInvalidPicklistValueName59 A picklist value name is invalid.
TMInvalidTMName60 A translation memory name is invalid.
TMExceededTMNameLimit61 The maximum length of the translation memory name has been exceeded.
TMExceededFieldNameLimit62 The maximum length of the field name has been exceeded.
TMExceededPicklistValueNameLimit63 The maximum length of the picklist value been exceeded.
TMExceededCopyrightFieldLimit64 The maximum length of the copyright field has been exceeded.
TMExceededDescriptionFieldLimit65 The maximum length of the description field has been exceeded.
TMExceededTextFieldValueLimit66 The maximum length of the text field value has been exceeded.
TMAlreadyExists67 A TM with this name already exists.
DAFieldTypesInconsistent68 The field types are inconsistent (internal error).
InvalidTMSourceLanguage69 The tranlsation memory's source language is not valid. No region-neutral languages can be used.
InvalidTMTargetLanguage70 The translation memory's target language is not valid. No region-neutral languages can be used.
DATUNotInTM71 The requested translation unit could not be found in the translation memory.
DAInvalidSegmentAfterDeserialization72 The segment is invalid. It could not be retrieved.
DAIndexDuplicateKey73 The index contained a duplicate key.
TMInvalidIteratorSize74 The iterator size is out of bounds.
TMUndefinedCascadeElement75 An element in the TM Cascade is undefined or empty.
TMUninitializedCascadeElement76 An element in the TM Cascade is not initialized.
TMUndefinedTMInCascade77 An element in the TM Cascade is undefined.
TMUninitializedTMInCascade78 An element in the TM Cascade is not initialized.
TMCannotInitializeTMInCascade79 An element in the TM Cascade could not be initialized.
TMIncompatibleTMLanguageDirectionInCascade80 The language direction of an element in the TM Cascade is incompatible with the cascade's language direction.
TMIncompatibleFieldTypes81 The field types are incompatible.
TMInvalidSortSpecification82 The sort specification is invalid.
TMNoTMOpen83 No translation memory is open.
TMFieldAlreadyExists84 A field with the specified name already exists.
TMPicklistValueAlreadyExists85 A picklist value with the specified name already exists.
TMResourceAlreadyExists86 The specified resource already exists.
TMResourceDoesNotExist87 The specified resource does not exist.
TMSourceLanguageMismatch88 The source language is not compatible with the TM's source language.
TMTargetLanguageMismatch89 The target language is not compatible with the TM's target language.
TMCannotModifyExactSearchOnlyFlag90 The TM setting "Exact Search Only" cannot be changed.
TMSearchModeNotSupported91 The TM does not support the required search mode.
TMCannotModifyFullTextSearchFlag92 Full-text search can only be enabled or disabled at TM creation time.
TMCannotModifyFuzzyIndices93 The fuzzy indexes cannot be modified after the TM has been created.
TMImportFieldNotExists94 The TM cannot import the TU because the TM does not have a field corresponding to a field in the TU.
TMImportIncompatibleFieldTypes95 An existing TM field is incompatible with an imported TM field.
TMTULimitExceeded96 Access denied (TM Size Limit exceeded).
StorageTMAlreadyExists97 The specified translation memory already exists.
StorageSchemaDoesntExist98 The database schema does not exist.
StorageSchemaAlreadyExists99 The database schema already exists.
StoragePicklistValueAlreadyExists100 The new picklist value name already exists in the field.
StorageIncompatibleAttributeType101 The field type is not compatible with the requested operation.
StorageFieldNotFound102 The required field does not exist.
StorageFieldAlreadyExists103 The new field already exists.
StorageParameterNotFound104 A requested database parameter could not be retrieved.
StorageDataFileNotFound105 The requested data file could not be located.
StorageVersionDataOutdated106 The database contains data in an outdated format which cannot be automatically migrated to the current schema. Please contact technical support.
StorageVersionDataNewer107 The database contains data in a newer format than this version of the application can handle. You need to upgrade your software, or contact technical support.
TMXUnknownVersion108 The TMX Version cannot be processed.
TMXNoSegmentOpen109 The TMX file cannot be processed since no segment is currently open.
TMXUnknownTMXAttribute110 The TMX file cannot be processed since an unknown TMX attribute was encountered.
TMXMissingVersion111 The TMX file cannot be processed since no TMX version information was found.
TMXCannotAddTagData112 The TMX file cannot be processed as no tag data can be added to a text element.
TMXInternalParserError113 The TMX file cannot be processed since an internal parser error occurred.
TMXUnexpectedInputData114 The TMX file cannot be processed since it contains unexpected data.
TMXCannotDetermineLanguageDirection115 The language direction of the TMX file cannot be determined. Valid input files must be bilingual.
StemmerErrorInStemmingRule116 The stemming rule cannot be processed.
TokenizerInvalidNumericFormat117 An invalid numeric format occurred in a number token.
TokenizerInvalidCharacterSet118 An invalid character set occurred in a tokenizer rule.
NoRegionSpecificLanguageFound119 No region-specific language could be found for the specified language.
ErrorInFilterExpression120 Filter expression parser: Error in Filter Expression
ErrorFilterUnbalancedParenthesis121 Filter expression parser: Unbalanced parentheses.
ErrorFilterExpectFieldName122 Filter expression parser: Expected a field name.
ErrorFilterInvalidFieldName123 Filter expression parser: Invalid field name.
ErrorFilterEmptyFieldName124 Filter expression parser: Empty field name.
ErrorFilterUnknownField125 Filter expression parser: Unknown field.
ErrorFilterPrematureEndOfInput126 Filter expression parser: Premature end of input.
ErrorFilterOperatorExpected127 Filter expression parser: Operator expected.
ErrorFilterNotAPicklistField128 Filter expression parser: The field is not a picklist field.
ErrorFilterPicklistItemNotFound129 Filter expression parser: The picklist field does not contain the picklist value.
ErrorFilterFieldNameNotSurroundedByDoubleQuotes130 Filter expression parser: The field name must be surrounded by double quotes.
ErrorFilterMultipleValuesNotBracketed131 Filter expression parser: Multiple values need to be enclosed in parentheses.
ErrorFilterMultivalueFieldNotBracketed132 Filter expression parser: Values for multivalue fields need to be enclosed in parentheses.
ErrorFilterFieldRequiresIntegerValue133 Filter expression parser: The field requires an integer value.
ErrorFilterValueNotSurroundedByDoubleQuotes134 Filter expression parser: The value needs to be enclosed in double quotes.
ErrorFilterCannotParseDate135 Filter expression parser: Cannot parse the date.
ErrorFilterTrailingBackslash136 Filter expression parser: Trailing backslash.
ErrorFilterIllegalInputSymbol137 Filter expression parser: Illegal input symbol.
ErrorFilterTrailingJunk138 Filter expression parser: Trailing junk at end of expression.
TMToolsNoTM139 No translation memory was provided for the current task.
TMToolsNoFileHeader140 The file cannot be processed as no usable file header was found.
TMToolsIncompatibleLanguagesBetweenDocumentAndTM141 The file cannot be processed since its language direction is incompatible with the current TM.
InternalError142 An internal error occurred.
CorruptData143 The data in an input file is corrupt and cannot be used.
InconsistentData144 The data is inconsistent and cannot be used.
CannotInitializeSpring145 The Spring Framework could not be initialized.
CannotInitializeFilterManager146 The Filter Manager could not be initialized.
InvalidOperation147 An invalid operation was attempted.
ReadonlyResource148 Attempt to modify a read-only resource.
EmbeddedResourceNotFound149 An expected, embedded resource could not be retrieved.
ResourceNotAvailable150 The requested language resource cannot be loaded for the specified culture.
DataComponentMissing151 A required data component is missing or unavailable.
DataComponentIncompatible152 The selected data component is incompatible with the other data components.
DataComponentNotOpen153 The selected data component must be opened first.
DataComponentAlreadyInUse154 The selected data component is already in use.
SegmentNotTokenized155 The segment is not tokenized and cannot be processed.
TagCountLimitExceeded156 The tag count limit has been exceeded by at least one segment of the TU.
NoTranslatableContentInFile157 The file cannot be processed since it does not contain any translatable content.
NoContentInFile158 The file cannot be processed since it does not contain any processable content.
UnexpectedDocumentContent159 The document cannot be processed since it contains unexpected contents.
LanguageResourceFileNotFound160 The language resource file could not be located.
InvalidLanguageResourceFile161 The language resource file is invalid.
CorruptDataInResourceFile162 The language resource file contains corrupt data.
XmlError163 An error occurred while reading or generating XML data.
EditScriptEmptySearchPattern164 Edit Script: The search pattern for a search/replace cannot be empty.
EditScriptEmptyFieldName165 Edit Script: The field name cannot be null or empty.
EditScriptSystemField166 Edit Script: This operation cannot be performed on system fields.
EditScriptIncompatibleFieldValueTypes167 Edit Script: The action cannot be performed since the field value types are incompatible.
EditScriptInvalidValue168 Edit Script: The value is invalid for the specified field.
EditScriptIncompatibleField169 Edit Script: The action cannot be performed on this field.
EditScriptInvalidOperationForFieldValueType170 Edit Script: The requested operation cannot be performed on a field of this value type.
SQLiteNotADatabase171 The specified file is not a valid translation memory.
SQLiteCorrupt172 The translation memory data file is corrupt.
SQLiteOtherError173 The translation memory data file engine returned an error.
EmptyData174 No data found.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments