diff --git a/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java b/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java index 04857a5bc0..e1db9203a7 100644 --- a/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java +++ b/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java @@ -313,11 +313,55 @@ public enum I18n // apacheds-test-framework errors 47000 - 47999 // apacheds-wrapper errors 48000 - 48999 // apacheds-xdbm-partition errors 49000 - 49999 + ERR_49000_SYSTEM_INDEX_DOES_NOT_EXIST("ERR_49000_SYSTEM_INDEX_DOES_NOT_EXIST"), + ERR_49001_USER_INDEX_DOES_NOT_EXIST("ERR_49001_USER_INDEX_DOES_NOT_EXIST"), + ERR_49002_CANNOT_BUILD_INDEX_FOR_ATTRIBUTE("ERR_49002_CANNOT_BUILD_INDEX_FOR_ATTRIBUTE"), + ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY("ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY"), + ERR_49004_FAILED_TO_CLOSE_INDEX("ERR_49004_FAILED_TO_CLOSE_INDEX"), + ERR_49005_CLOSED_MASTER_TABLE_FOR_PARTITION("ERR_49005_CLOSED_MASTER_TABLE_FOR_PARTITION"), + ERR_49006_FAILED_TO_CLOSE_MASTER("ERR_49006_FAILED_TO_CLOSE_MASTER"), + ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY("ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY"), + ERR_49008_ID_FOR_PARENT_NOT_FOUND("ERR_49008_ID_FOR_PARENT_NOT_FOUND"), + ERR_49009_ENTRY_WITHOUT_OBJECT_CLASS("ERR_49009_ENTRY_WITHOUT_OBJECT_CLASS"), + ERR_49010_ENTRY_WITHOUT_ENTRY_CSN("ERR_49010_ENTRY_WITHOUT_ENTRY_CSN"), + ERR_49011_UNIDENTIFIED_MODIFICATION_OPERATION("ERR_49011_UNIDENTIFIED_MODIFICATION_OPERATION"), + ERR_49012_ALIAS_POINTING_TO_OUTSIDE_NAMING_CONTEX("ERR_49012_ALIAS_POINTING_TO_OUTSIDE_NAMING_CONTEX"), + ERR_49013_ALIAS_POINTING_TO_ANOTHER_ALIAS("ERR_49013_ALIAS_POINTING_TO_ANOTHER_ALIAS"), + ERR_49014_ENTRY_ALREADY_EXISTS("ERR_49014_ENTRY_ALREADY_EXISTS"), + ERR_49015_ALIAS_REFERENCING_UNKNOWN_OBJECT("ERR_49015_ALIAS_REFERENCING_UNKNOWN_OBJECT"), + ERR_49016_COULD_NOT_FIND_ENTRY_TO_DELETE("ERR_49016_COULD_NOT_FIND_ENTRY_TO_DELETE"), + ERR_49017_CANNOT_DELETE_ENTRY_WITH_CHILDREN("ERR_49017_CANNOT_DELETE_ENTRY_WITH_CHILDREN"), + ERR_49018_NO_NORMALIZER_FOR_ATTRIBUTE_TYPE("ERR_49018_NO_NORMALIZER_FOR_ATTRIBUTE_TYPE"), + ERR_49019_CANNOT_USE_IN_MEMORY_INDEX_TO_STORE_DATA("ERR_49019_CANNOT_USE_IN_MEMORY_INDEX_TO_STORE_DATA"), + ERR_49020_AND_CURSOR_NOT_ORDERED("ERR_49020_AND_CURSOR_NOT_ORDERED"), + ERR_49021_CURSOR_NOT_POSITIONED("ERR_49021_CURSOR_NOT_POSITIONED"), + ERR_49022_SCOPE_CURSOR_NOT_ORDERED("ERR_49022_SCOPE_CURSOR_NOT_ORDERED"), + ERR_49023_EQUALITY_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS("ERR_49023_EQUALITY_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS"), + ERR_49024_LESS_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS("ERR_49024_LESS_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS"), + ERR_49025_NOT_CURSOR_NOT_ORDERED("ERR_49025_NOT_CURSOR_NOT_ORDERED"), + ERR_49026_UNKNOWN_ASSERTION_TYPE("ERR_49026_UNKNOWN_ASSERTION_TYPE"), + ERR_49027_INDEX_PROPERTY_CANNOT_BE_SET_AFTER_INIT("ERR_49027_INDEX_PROPERTY_CANNOT_BE_SET_AFTER_INIT"), + ERR_49028_NULL_KEY_COMPARATOR("ERR_49028_NULL_KEY_COMPARATOR"), + ERR_49029_INVALID_SEARCH_BASE("ERR_49029_INVALID_SEARCH_BASE"), + ERR_49030_EMPTY_CURSOR("ERR_49030_EMPTY_CURSOR"), + ERR_49031_CANNOT_SEARCH_THE_DIB_WITHOUT_INDEX("ERR_49031_CANNOT_SEARCH_THE_DIB_WITHOUT_INDEX"), + ERR_49032_CANNOT_ACCESS_ELEMENT_BEFORE_FIRST("ERR_49032_CANNOT_ACCESS_ELEMENT_BEFORE_FIRST"), + ERR_49033_CANNOT_ACCESS_ELEMENT_AFTER_LAST("ERR_49033_CANNOT_ACCESS_ELEMENT_AFTER_LAST"), + ERR_49034_COULD_NOT_FIND_MATCHING_RULE("ERR_49034_COULD_NOT_FIND_MATCHING_RULE"), + ERR_49035_UNRECOGNIZED_LEAF_NODE("ERR_49035_UNRECOGNIZED_LEAF_NODE"), + ERR_49036_UNRECOGNIZED_SEARCH_SCOPE("ERR_49036_UNRECOGNIZED_SEARCH_SCOPE"), + ERR_49037_COULD_NOT_FIND_MATCHING_RULE_FOR_GREATER_EQ_NODE("ERR_49037_COULD_NOT_FIND_MATCHING_RULE_FOR_GREATER_EQ_NODE"), + ERR_49038_COULD_NOT_FIND_MATCHING_RULE_FOR_LESS_EQ_NODE("ERR_49038_COULD_NOT_FIND_MATCHING_RULE_FOR_LESS_EQ_NODE"), + ERR_49039_SCOPE_NODE_NOT_ONE_LEVEL("ERR_49039_SCOPE_NODE_NOT_ONE_LEVEL"), + ERR_49040_INEFFICIENT_WITHOUT_GET_ID("ERR_49040_INEFFICIENT_WITHOUT_GET_ID"), + ERR_49041_OR_CURSOR_NOT_ORDERED("ERR_49041_OR_CURSOR_NOT_ORDERED"), + ERR_49042_MUST_HAVE_2_SUB_EXPRESSIONS("ERR_49042_MUST_HAVE_2_SUB_EXPRESSIONS"), + ERR_49043_PRESENCE_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS("ERR_49043_PRESENCE_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS"), + ERR_49044_SUBSTRING_CURSOR_NOT_ORDERED("ERR_49044_SUBSTRING_CURSOR_NOT_ORDERED"), + ERR_49045_SCOPE_NODE_NOT_IN_SUBTREE_SCOPE("ERR_49045_SCOPE_NODE_NOT_IN_SUBTREE_SCOPE"), + ERR_1("ERR_1"), - ERR_2("ERR_2"), - ERR_3("ERR_3"), - ERR_4("ERR_4"), ERR_5("ERR_5"), ERR_6("ERR_6"), ERR_7("ERR_7"), @@ -410,9 +454,6 @@ public enum I18n ERR_116("ERR_116"), ERR_122("ERR_122"), // ERR_123( "ERR_123" ), - ERR_124("ERR_124"), - ERR_125("ERR_125"), - ERR_126("ERR_126"), ERR_127("ERR_127"), ERR_128("ERR_128"), // ERR_129( "ERR_129" ), @@ -497,22 +538,13 @@ public enum I18n ERR_209("ERR_209"), ERR_210("ERR_210"), ERR_211("ERR_211"), - ERR_212("ERR_212"), - ERR_213("ERR_213"), ERR_214("ERR_214"), - ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY("ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY"), - ERR_216_ID_FOR_PARENT_NOT_FOUND("ERR_216_ID_FOR_PARENT_NOT_FOUND"), - ERR_217("ERR_217"), ERR_218("ERR_218"), - ERR_219("ERR_219"), ERR_220("ERR_220"), - ERR_221("ERR_221"), ERR_222("ERR_222"), ERR_223("ERR_223"), ERR_224("ERR_224"), - ERR_225("ERR_225"), ERR_226("ERR_226"), - ERR_227("ERR_227"), ERR_228("ERR_228"), ERR_229("ERR_229"), ERR_230("ERR_230"), @@ -528,7 +560,6 @@ public enum I18n ERR_241_CANNOT_STORE_COLLECTIVE_ATT_IN_ENTRY("ERR_241_CANNOT_STORE_COLLECTIVE_ATT_IN_ENTRY"), ERR_242("ERR_242"), ERR_249("ERR_249"), - ERR_250_ENTRY_ALREADY_EXISTS("ERR_250_ENTRY_ALREADY_EXISTS"), ERR_251_PARENT_NOT_FOUND("ERR_251_PARENT_NOT_FOUND"), ERR_252_ALIAS_WITH_CHILD_NOT_ALLOWED("ERR_252_ALIAS_WITH_CHILD_NOT_ALLOWED"), ERR_253("ERR_253"), @@ -537,7 +568,6 @@ public enum I18n ERR_257_COLLECTIVE_SUBENTRY_WITHOUT_COLLECTIVE_AT("ERR_257_COLLECTIVE_SUBENTRY_WITHOUT_COLLECTIVE_AT"), ERR_258("ERR_258"), ERR_259("ERR_259"), - ERR_260("ERR_260"), ERR_261("ERR_261"), ERR_262("ERR_262"), ERR_269("ERR_269"), @@ -680,22 +710,6 @@ public enum I18n ERR_572("ERR_572"), ERR_573("ERR_573"), ERR_574("ERR_574"), - ERR_575("ERR_575"), - ERR_577("ERR_577"), - // ERR_578( "ERR_578" ), - // ERR_579( "ERR_579" ), - // ERR_580( "ERR_580" ), - ERR_581("ERR_581"), - // ERR_582( "ERR_582" ), - // ERR_583( "ERR_583" ), - // ERR_584( "ERR_584" ), - // ERR_585( "ERR_585" ), - // ERR_586( "ERR_586" ), - // ERR_587( "ERR_587" ), - // ERR_588( "ERR_588" ), - // ERR_589( "ERR_589" ), - // ERR_590( "ERR_590" ), - ERR_591("ERR_591"), ERR_592("ERR_592"), ERR_593("ERR_593"), ERR_594("ERR_594"), @@ -752,7 +766,6 @@ public enum I18n // ERR_645( "ERR_645" ), ERR_646("ERR_646"), ERR_647("ERR_647"), - ERR_648("ERR_648"), ERR_649("ERR_649"), ERR_650("ERR_650"), ERR_651("ERR_651"), @@ -803,35 +816,10 @@ public enum I18n // ERR_696( "ERR_696" ), ERR_697("ERR_697"), ERR_698("ERR_698"), - ERR_699("ERR_699"), - ERR_700("ERR_700"), ERR_701("ERR_701"), ERR_702("ERR_702"), - ERR_703("ERR_703"), - ERR_704("ERR_704"), - ERR_705("ERR_705"), - ERR_706("ERR_706"), - ERR_707("ERR_707"), - ERR_708("ERR_708"), - ERR_709("ERR_709"), - // ERR_710( "ERR_710" ), - ERR_711("ERR_711"), ERR_712("ERR_712"), - ERR_713("ERR_713"), - ERR_714("ERR_714"), - ERR_715("ERR_715"), - ERR_716("ERR_716"), - ERR_717("ERR_717"), - ERR_718("ERR_718"), - ERR_719("ERR_719"), - ERR_720("ERR_720"), - ERR_721("ERR_721"), - ERR_722("ERR_722"), - ERR_723("ERR_723"), - ERR_724("ERR_724"), - ERR_725("ERR_725"), ERR_726_FILE_UNDELETABLE("ERR_726_FILE_UNDELETABLE"), - ERR_727("ERR_727"), ERR_728("ERR_728"), ERR_729("ERR_729"), ERR_730("ERR_730"), diff --git a/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties b/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties index 4e775f6151..93ba3fd546 100644 --- a/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties +++ b/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties @@ -306,11 +306,55 @@ ERR_31002_NEGATIOVE_NB_ATTRIBUTES_IN_ENTRY=The number of attributes is negative # apacheds-test-framework errors 47000 - 47999 # apacheds-wrapper errors 48000 - 48999 # apacheds-xdbm-partition errors 49000 - 49999 +ERR_49000_SYSTEM_INDEX_DOES_NOT_EXIST=A system index on attribute {0} ({1}) does not exist! +ERR_49001_USER_INDEX_DOES_NOT_EXIST=A user index on attribute {0} ({1}) does not exist! +ERR_49002_CANNOT_BUILD_INDEX_FOR_ATTRIBUTE=Cannot build an index for attribute ''{0}'', no EQUALITY MatchingRule defined +ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY=Errors encountered on destroy() +ERR_49004_FAILED_TO_CLOSE_INDEX=Failed to close an index. +ERR_49005_CLOSED_MASTER_TABLE_FOR_PARTITION=Closed master table for {0} partition. +ERR_49006_FAILED_TO_CLOSE_MASTER=Failed to close the master. +ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY=Cannot store a ClonedServerEntry +ERR_49008_ID_FOR_PARENT_NOT_FOUND=Id for parent ''{0}'' not found! +ERR_49009_ENTRY_WITHOUT_OBJECT_CLASS=Entry {0} contains no objectClass attribute: {1} +ERR_49010_ENTRY_WITHOUT_ENTRY_CSN=Entry {0} contains no entryCsn attribute: {1} +ERR_49011_UNIDENTIFIED_MODIFICATION_OPERATION=Unidentified modification operation +ERR_49012_ALIAS_POINTING_TO_OUTSIDE_NAMING_CONTEXT=[36] aliasDereferencingProblem - the alias points to an entry outside of the {0} namingContext to an object whose existance cannot be determined. +ERR_49013_ALIAS_POINTING_TO_ANOTHER_ALIAS=[36] aliasDereferencingProblem - the alias points to another alias. Alias chaining is not supported by this backend. +ERR_49014_ENTRY_ALREADY_EXISTS={0} already exists! +ERR_49015_ALIAS_REFERENCING_UNKNOWN_OBJECT=[33] aliasProblem - the alias ''{0}'' when dereferenced would not name a known object. The aliased ObjectName ''{1}'' must be set to a valid existing entry. +ERR_49016_COULD_NOT_FIND_ENTRY_TO_DELETE=Could not find entry at ''{0}'' to delete it! +ERR_49017_CANNOT_DELETE_ENTRY_WITH_CHILDREN=[66] Cannot delete entry {0} it has children! +ERR_49018_NO_NORMALIZER_FOR_ATTRIBUTE_TYPE=No Normalizer present for attribute type {0} +ERR_49019_CANNOT_USE_IN_MEMORY_INDEX_TO_STORE_DATA=in memory index cannot store the data on disk +ERR_49020_AND_CURSOR_NOT_ORDERED=AndCursors are not ordered and do not support positioning by element. +ERR_49021_CURSOR_NOT_POSITIONED=Cursor has not been positioned yet. +ERR_49022_SCOPE_CURSOR_NOT_ORDERED=Scope Cursors are not ordered and do not support positioning by element. +ERR_49023_EQUALITY_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS=EqualityCursors only support positioning by element when a user index exists on the asserted attribute. +ERR_49024_LESS_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS=LessEqCursors only support positioning by element when a user index exists on the asserted attribute. +ERR_49025_NOT_CURSOR_NOT_ORDERED=NotCursors are not ordered and do not support positioning by element. +ERR_49026_UNKNOWN_ASSERTION_TYPE=Unknown assertion type: {0} +ERR_49027_INDEX_PROPERTY_CANNOT_BE_SET_AFTER_INIT=The {0} property for an index cannot be set after it has been initialized. +ERR_49028_NULL_KEY_COMPARATOR=Key comparator cannot be null. +ERR_49029_INVALID_SEARCH_BASE=Invalid search base {0} +ERR_49030_EMPTY_CURSOR=This cursor is empty and cannot return elements! +ERR_49031_CANNOT_SEARCH_THE_DIB_WITHOUT_INDEX=Cannot efficiently search the DIB w/o an index on attribute {0}\n. To allow such searches please contact the directory\nadministrator to create the index or to enable referrals on searches using these\nattributes to a replica with the required set of indices. +ERR_49032_CANNOT_ACCESS_ELEMENT_BEFORE_FIRST=Cannot access element if positioned before first. +ERR_49033_CANNOT_ACCESS_ELEMENT_AFTER_LAST=Cannot access element if positioned after last. +ERR_49034_COULD_NOT_FIND_MATCHING_RULE=Could not find matchingRule to use for EqualityNode evaluation: {0} +ERR_49035_UNRECOGNIZED_LEAF_NODE=Unrecognized leaf node +ERR_49036_UNRECOGNIZED_SEARCH_SCOPE=Unrecognized search scope value for filter scope node +ERR_49037_COULD_NOT_FIND_MATCHING_RULE_FOR_GREATER_EQ_NODE=Could not find matchingRule to use for GreaterEqNode evaluation: {0} +ERR_49038_COULD_NOT_FIND_MATCHING_RULE_FOR_LESS_EQ_NODE=Could not find matchingRule to use for LessEqNode evaluation: {0} +ERR_49039_SCOPE_NODE_NOT_ONE_LEVEL=ScopeNode is not of onelevel scope. +ERR_49040_INEFFICIENT_WITHOUT_GET_ID=This is too inefficient without getId() on ServerEntry +ERR_49041_OR_CURSOR_NOT_ORDERED=OrCursors are not ordered and do not support positioning by element. +ERR_49042_MUST_HAVE_2_SUB_EXPRESSIONS=Must have 2 or more sub-expression Cursors for a disjunction +ERR_49043_PRESENCE_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS=PresenceCursors do not support positioning by element without a user index on the presence attribute. +ERR_49044_SUBSTRING_CURSOR_NOT_ORDERED=SubstringCursors may not be ordered and do not support positioning by element. +ERR_49045_SCOPE_NODE_NOT_IN_SUBTREE_SCOPE=ScopeNode is not of subtree scope. + ERR_1=Failed to identify OID for: {0} -ERR_2=A system index on attribute {0} ({1}) does not exist! -ERR_3=A user index on attribute {0} ({1}) does not exist! -ERR_4=Cannot build an index for attribute ''{0}'', no EQUALITY MatchingRule defined ERR_5=Attempted operation {0} by unauthenticated caller. ERR_6=Authentication error : {0} ERR_7=Cannot create a digested password for algorithm ''{0}'' @@ -403,9 +447,6 @@ ERR_115=Failed to delete the working directory. ERR_116=Failed to delete\: ERR_122=Error encoding EncryptionKey. # ERR_123= -ERR_124=Failed to close an index. -ERR_125=Closed master table for {0} partition. -ERR_126=Failed to close the master. ERR_127=Failed to close the record manager ERR_128=Failed to identify OID for\: # ERR_129= @@ -490,22 +531,13 @@ ERR_208=Import failed... ERR_209=ldif file ''{0}'' does not exist ERR_210=ldif file ''{0}'' can't be read ERR_211=ldif file name must be provided -ERR_212=No Normalizer present for attribute type {0} -ERR_213=in memory index cannot store the data on disk ERR_214=in memory index doesn''t support explicit caching -ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY=Cannot store a ClonedServerEntry -ERR_216_ID_FOR_PARENT_NOT_FOUND=Id for parent ''{0}'' not found! -ERR_217=Entry {0} contains no objectClass attribute: {1} ERR_218=Not a normalized name: {0} -ERR_219=Entry {0} contains no entryCsn attribute: {1} ERR_220=Entry {0} contains no entryUuid attribute: {1} -ERR_221=Unidentified modification operation ERR_222=Cannot call store method: {0} ERR_223=[36] aliasDereferencingProblem - attempt to create alias to itself. ERR_224=[36] aliasDereferencingProblem - attempt to create alias with cycle to relative {0} not allowed from descendent alias {1} -ERR_225=[36] aliasDereferencingProblem - the alias points to an entry outside of the {0} namingContext to an object whose existance cannot be determined. ERR_226=[33] aliasProblem - the alias when dereferenced would not name a known object the aliasedObjectName must be set to a valid existing entry. -ERR_227=[36] aliasDereferencingProblem - the alias points to another alias. Alias chaining is not supported by this backend. ERR_228=Anonymous bind NOT permitted! ERR_229=Cannot authenticate user {0} ERR_230=Password not correct for user ''{0}'' @@ -521,7 +553,6 @@ ERR_240=revision must be less than or equal to the current revision ERR_241_CANNOT_STORE_COLLECTIVE_ATT_IN_ENTRY=Collective attributes cannot be stored in non-collectiveAttributeSubentries ERR_242=Cannot operate on collective attributes in non-collectiveAttributeSubentries ERR_249=The global schema subentry cannot be added since it exists by default. -ERR_250_ENTRY_ALREADY_EXISTS={0} already exists! ERR_251_PARENT_NOT_FOUND=Parent {0} not found ERR_252_ALIAS_WITH_CHILD_NOT_ALLOWED=Attempt to add entry ''{0}'' under alias ''{1}'' not allowed. ERR_253=Can not allow the deletion of the subschemaSubentry ({0}) for the global schema. @@ -530,7 +561,6 @@ ERR_255=Can not allow the renaming of the subschemaSubentry ({0}) for the global ERR_257_COLLECTIVE_SUBENTRY_WITHOUT_COLLECTIVE_AT=A CollectiveAttribute Subentry must have at least one collective Attribute ERR_258=Can not allow the move of the subschemaSubentry ({0}) for the global schema\: it is fixed at {1} ERR_259=Attempt to search under non-existant entry\: -ERR_260=Unknown assertion type: {0} ERR_261=Failed to expand node ERR_262=System partition has wrong name: should be ''system'' not ''{0}''. ERR_269=userRoot() in org.apache.directory.server.prefs.ServerPreferencesFactory not implemented! @@ -671,22 +701,7 @@ ERR_571=this is not a btreeRedirect container ERR_572=This cursor can only be used with tables that have duplicate keys enabled. ERR_573=Value based advances not supported. ERR_574=No Equality MatchingRule available for attribute {0} -ERR_575=The {0} property for an index cannot be set after it has been initialized. -ERR_577=Errors encountered on destroy() -# ERR_578= -# ERR_579= -# ERR_580= -ERR_581=[33] aliasProblem - the alias ''{0}'' when dereferenced would not name a known object. The aliased ObjectName ''{1}'' must be set to a valid existing entry. -# ERR_582= -# ERR_583= -# ERR_584= -# ERR_585= -# ERR_586= -# ERR_587= -# ERR_588= -# ERR_589= -# ERR_590= -ERR_591=Key comparator cannot be null. + ERR_592=Value comparator must not be null for tables with duplicate keys. ERR_593=Unfortunately this Table without duplicates enabled does not contain a value comparator which is needed to answer your ordering question. ERR_594=null for key or value is not valid @@ -743,7 +758,6 @@ ERR_644=Negative index in the buffer # ERR_645= ERR_646=Record type to objectClass mapping has not been set. ERR_647=ResourceRecord requires STRUCTURAL objectClass -ERR_648=Invalid search base {0} ERR_649=Can''t get context at {0} ERR_650=Invalid enum value: {0} ERR_651=SamSubsystem not enabled with key integrity checker @@ -794,35 +808,10 @@ ERR_695=Invalid replica ID\: # ERR_696= ERR_697=The following schema directory from the installation layout could not be found\:\n\t{0} ERR_698=Unknown SchemaObject type: {0} -ERR_699=Could not find entry at ''{0}'' to delete it! -ERR_700=[66] Cannot delete entry {0} it has children! ERR_701=Cursor pos ({0}) not in value range [0-{1}] ERR_702=Bind requests only tunnel down into partitions if there are no authenticators to handle the mechanism.\nCheck to see if you have correctly configured authenticators for the server. -ERR_703=This cursor is empty and cannot return elements! -ERR_704=Cannot efficiently search the DIB w/o an index on attribute {0}\n. To allow such searches please contact the directory\nadministrator to create the index or to enable referrals on searches using these\nattributes to a replica with the required set of indices. -ERR_705=Cannot access element if positioned before first. -ERR_706=Cannot access element if positioned after last. -ERR_707=AndCursors are not ordered and do not support positioning by element. -ERR_708=Cursor has not been positioned yet. -ERR_709=Could not find matchingRule to use for EqualityNode evaluation: {0} -# ERR_710= -ERR_711=Unrecognized leaf node ERR_712=Unrecognized branch node type -ERR_713=Unrecognized search scope value for filter scope node -ERR_714=EqualityCursors only support positioning by element when a user index exists on the asserted attribute. -ERR_715=Could not find matchingRule to use for GreaterEqNode evaluation: {0} -ERR_716=LessEqCursors only support positioning by element when a user index exists on the asserted attribute. -ERR_717=Could not find matchingRule to use for LessEqNode evaluation: {0} -ERR_718=NotCursors are not ordered and do not support positioning by element. -ERR_719=Scope Cursors are not ordered and do not support positioning by element. -ERR_720=ScopeNode is not of onelevel scope. -ERR_721=This is too inefficient without getId() on ServerEntry -ERR_722=OrCursors are not ordered and do not support positioning by element. -ERR_723=Must have 2 or more sub-expression Cursors for a disjunction -ERR_724=PresenceCursors do not support positioning by element without a user index on the presence attribute. -ERR_725=SubstringCursors may not be ordered and do not support positioning by element. ERR_726_FILE_UNDELETABLE=Can''t delete file {0} -ERR_727=ScopeNode is not of subtree scope. ERR_728=There can only be 2 columns at index 0 and at 1 ERR_729=You didn''t correctly set col names ERR_730=Unrecognized mode. diff --git a/interceptors/exception/src/main/java/org/apache/directory/server/core/exception/ExceptionInterceptor.java b/interceptors/exception/src/main/java/org/apache/directory/server/core/exception/ExceptionInterceptor.java index ed9ff13947..1472e69c5d 100644 --- a/interceptors/exception/src/main/java/org/apache/directory/server/core/exception/ExceptionInterceptor.java +++ b/interceptors/exception/src/main/java/org/apache/directory/server/core/exception/ExceptionInterceptor.java @@ -266,7 +266,7 @@ private void checkExistingTarget( OperationContext operationContext, Dn newDn, D // we want to allow this. if ( !newDn.equals( oldDn ) ) { - throw new LdapEntryAlreadyExistsException( I18n.err( I18n.ERR_250_ENTRY_ALREADY_EXISTS, newDn.getName() ) ); + throw new LdapEntryAlreadyExistsException( I18n.err( I18n.ERR_49014_ENTRY_ALREADY_EXISTS, newDn.getName() ) ); } } } diff --git a/interceptors/normalization/src/main/java/org/apache/directory/server/core/normalization/ExpandingVisitor.java b/interceptors/normalization/src/main/java/org/apache/directory/server/core/normalization/ExpandingVisitor.java index 2c323030b3..ad29e95fd4 100644 --- a/interceptors/normalization/src/main/java/org/apache/directory/server/core/normalization/ExpandingVisitor.java +++ b/interceptors/normalization/src/main/java/org/apache/directory/server/core/normalization/ExpandingVisitor.java @@ -178,7 +178,7 @@ else if ( leaf instanceof SubstringNode ) } else { - throw new IllegalStateException( I18n.err( I18n.ERR_260, leaf ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49026_UNKNOWN_ASSERTION_TYPE, leaf ) ); } orNode.addNode( newLeaf ); diff --git a/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java b/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java index 3843070fbc..f7e15fa43f 100644 --- a/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java +++ b/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmPartition.java @@ -189,7 +189,7 @@ private int rebuildIndexes( PartitionTxn partitionTxn ) throws LdapException, IO if ( objectClass == null ) { - String msg = I18n.err( I18n.ERR_217, dn, entry ); + String msg = I18n.err( I18n.ERR_49009_ENTRY_WITHOUT_OBJECT_CLASS, dn, entry ); ResultCodeEnum rc = ResultCodeEnum.OBJECT_CLASS_VIOLATION; throw new LdapSchemaViolationException( rc, msg ); } @@ -219,7 +219,7 @@ private int rebuildIndexes( PartitionTxn partitionTxn ) throws LdapException, IO if ( entryCsn == null ) { - String msg = I18n.err( I18n.ERR_219, dn, entry ); + String msg = I18n.err( I18n.ERR_49010_ENTRY_WITHOUT_ENTRY_CSN, dn, entry ); throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, msg ); } @@ -845,7 +845,7 @@ else if ( index instanceof JdbmIndex ) @Override protected synchronized void doDestroy( PartitionTxn partitionTxn ) throws LdapException { - MultiException errors = new MultiException( I18n.err( I18n.ERR_577 ) ); + MultiException errors = new MultiException( I18n.err( I18n.ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY ) ); if ( !initialized ) { diff --git a/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotPartition.java b/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotPartition.java index 35ba35cef3..400e67a505 100644 --- a/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotPartition.java +++ b/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotPartition.java @@ -289,7 +289,7 @@ else if ( index instanceof MavibotIndex ) @Override protected synchronized void doDestroy( PartitionTxn partitionTxn ) throws LdapException { - MultiException errors = new MultiException( I18n.err( I18n.ERR_577 ) ); + MultiException errors = new MultiException( I18n.err( I18n.ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY ) ); if ( !initialized ) { diff --git a/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/operations/GetRecords.java b/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/operations/GetRecords.java index facc7a04f2..4f8a44c981 100644 --- a/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/operations/GetRecords.java +++ b/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/operations/GetRecords.java @@ -299,7 +299,7 @@ private Name getRelativeName( String nameInNamespace, String baseDn ) throws Nam if ( !searchBaseDn.startsWith( ctxRoot ) ) { - throw new NamingException( I18n.err( I18n.ERR_648, baseDn ) ); + throw new NamingException( I18n.err( I18n.ERR_49029_INVALID_SEARCH_BASE, baseDn ) ); } for ( int ii = 0; ii < ctxRoot.size(); ii++ ) diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java b/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java index 8476c23842..70b7a89ad2 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java @@ -479,7 +479,7 @@ protected void setupUserIndices() throws LdapException } else { - LOG.error( I18n.err( I18n.ERR_4, attributeType.getName() ) ); + LOG.error( I18n.err( I18n.ERR_49002_CANNOT_BUILD_INDEX_FOR_ATTRIBUTE, attributeType.getName() ) ); } } @@ -547,7 +547,7 @@ protected void doDestroy( PartitionTxn partitionTxn ) throws LdapException piarCache.invalidateAll(); entryDnCache.invalidateAll(); - MultiException errors = new MultiException( I18n.err( I18n.ERR_577 ) ); + MultiException errors = new MultiException( I18n.err( I18n.ERR_49003_ERRORS_ENCOUNTERED_ON_DESTROY ) ); for ( Index index : userIndices.values() ) { @@ -558,7 +558,7 @@ protected void doDestroy( PartitionTxn partitionTxn ) throws LdapException } catch ( Throwable t ) { - LOG.error( I18n.err( I18n.ERR_124 ), t ); + LOG.error( I18n.err( I18n.ERR_49004_FAILED_TO_CLOSE_INDEX ), t ); errors.addThrowable( t ); } } @@ -572,7 +572,7 @@ protected void doDestroy( PartitionTxn partitionTxn ) throws LdapException } catch ( Throwable t ) { - LOG.error( I18n.err( I18n.ERR_124 ), t ); + LOG.error( I18n.err( I18n.ERR_49004_FAILED_TO_CLOSE_INDEX ), t ); errors.addThrowable( t ); } } @@ -583,12 +583,12 @@ protected void doDestroy( PartitionTxn partitionTxn ) throws LdapException if ( LOG.isDebugEnabled() ) { - LOG.debug( I18n.err( I18n.ERR_125, suffixDn ) ); + LOG.debug( I18n.err( I18n.ERR_49005_CLOSED_MASTER_TABLE_FOR_PARTITION, suffixDn ) ); } } catch ( Throwable t ) { - LOG.error( I18n.err( I18n.ERR_126 ), t ); + LOG.error( I18n.err( I18n.ERR_49006_FAILED_TO_CLOSE_MASTER ), t ); errors.addThrowable( t ); } @@ -782,7 +782,7 @@ public void add( AddOperationContext addContext ) throws LdapException // don't keep going if we cannot find the parent Id if ( parentIdAndRdn == null ) { - throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_216_ID_FOR_PARENT_NOT_FOUND, + throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_49008_ID_FOR_PARENT_NOT_FOUND, parentIdAndRdn ) ); } @@ -795,7 +795,7 @@ public void add( AddOperationContext addContext ) throws LdapException if ( rdnIdx.forwardLookup( partitionTxn, parentIdAndRdn ) != null ) { throw new LdapEntryAlreadyExistsException( - I18n.err( I18n.ERR_250_ENTRY_ALREADY_EXISTS, entryDn.getName() ) ); + I18n.err( I18n.ERR_49014_ENTRY_ALREADY_EXISTS, entryDn.getName() ) ); } } finally @@ -827,7 +827,7 @@ public void add( AddOperationContext addContext ) throws LdapException if ( objectClass == null ) { - String msg = I18n.err( I18n.ERR_217, entryDn.getName(), entry ); + String msg = I18n.err( I18n.ERR_49009_ENTRY_WITHOUT_OBJECT_CLASS, entryDn.getName(), entry ); ResultCodeEnum rc = ResultCodeEnum.OBJECT_CLASS_VIOLATION; throw new LdapSchemaViolationException( rc, msg ); @@ -857,7 +857,7 @@ public void add( AddOperationContext addContext ) throws LdapException if ( entryCsn == null ) { - String msg = I18n.err( I18n.ERR_219, entryDn.getName(), entry ); + String msg = I18n.err( I18n.ERR_49010_ENTRY_WITHOUT_ENTRY_CSN, entryDn.getName(), entry ); throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, msg ); } @@ -978,14 +978,14 @@ public Entry delete( DeleteOperationContext deleteContext ) throws LdapException // don't continue if id is null if ( id == null ) { - throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_699, dn ) ); + throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_49016_COULD_NOT_FIND_ENTRY_TO_DELETE, dn ) ); } long childCount = getChildCount( partitionTxn, id ); if ( childCount > 0 ) { - throw new LdapContextNotEmptyException( I18n.err( I18n.ERR_700, dn ) ); + throw new LdapContextNotEmptyException( I18n.err( I18n.ERR_49017_CANNOT_DELETE_ENTRY_WITH_CHILDREN, dn ) ); } // We now defer the deletion to the implementing class @@ -1460,7 +1460,7 @@ public final synchronized Entry modify( PartitionTxn partitionTxn, Dn dn, Modifi break; default: - throw new LdapException( I18n.err( I18n.ERR_221 ) ); + throw new LdapException( I18n.err( I18n.ERR_49011_UNIDENTIFIED_MODIFICATION_OPERATION ) ); } } catch ( IndexNotFoundException infe ) @@ -1499,7 +1499,7 @@ private void modifyAdd( PartitionTxn partitionTxn, String id, Entry entry, Attri { if ( entry instanceof ClonedServerEntry ) { - throw new LdapOtherException( I18n.err( I18n.ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); } String modsOid = schemaManager.getAttributeTypeRegistry().getOidByName( mods.getId() ); @@ -1610,7 +1610,7 @@ private void modifyReplace( PartitionTxn partitionTxn, String id, Entry entry, A { if ( entry instanceof ClonedServerEntry ) { - throw new LdapOtherException( I18n.err( I18n.ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); } String modsOid = schemaManager.getAttributeTypeRegistry().getOidByName( mods.getId() ); @@ -1752,7 +1752,7 @@ private void modifyIncrement( PartitionTxn partitionTxn, String id, Entry entry, { if ( entry instanceof ClonedServerEntry ) { - throw new LdapOtherException( I18n.err( I18n.ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); } String modsOid = schemaManager.getAttributeTypeRegistry().getOidByName( mods.getId() ); @@ -1911,7 +1911,7 @@ private void modifyRemove( PartitionTxn partitionTxn, String id, Entry entry, At { if ( entry instanceof ClonedServerEntry ) { - throw new LdapOtherException( I18n.err( I18n.ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49007_CANNOT_STORE_CLONED_SERVER_ENTRY ) ); } String modsOid = schemaManager.getAttributeTypeRegistry().getOidByName( mods.getId() ); @@ -2120,7 +2120,7 @@ public final synchronized void move( PartitionTxn partitionTxn, Dn oldDn, Dn new // This is not allowed : we should not be able to move an entry // to an existing position throw new LdapEntryAlreadyExistsException( - I18n.err( I18n.ERR_250_ENTRY_ALREADY_EXISTS, newSuperiorDn.getName() ) ); + I18n.err( I18n.ERR_49014_ENTRY_ALREADY_EXISTS, newSuperiorDn.getName() ) ); } // Get the entry and the old parent IDs @@ -3128,7 +3128,7 @@ public Index getIndex( AttributeType attributeType ) throws IndexNotF return systemIndices.get( id ); } - throw new IndexNotFoundException( I18n.err( I18n.ERR_3, id, id ) ); + throw new IndexNotFoundException( I18n.err( I18n.ERR_49001_USER_INDEX_DOES_NOT_EXIST, id, id ) ); } @@ -3140,7 +3140,7 @@ public Index getUserIndex( AttributeType attributeType ) throws Index { if ( attributeType == null ) { - throw new IndexNotFoundException( I18n.err( I18n.ERR_3, attributeType, attributeType ) ); + throw new IndexNotFoundException( I18n.err( I18n.ERR_49001_USER_INDEX_DOES_NOT_EXIST, attributeType, attributeType ) ); } String oid = attributeType.getOid(); @@ -3150,7 +3150,7 @@ public Index getUserIndex( AttributeType attributeType ) throws Index return userIndices.get( oid ); } - throw new IndexNotFoundException( I18n.err( I18n.ERR_3, attributeType, attributeType ) ); + throw new IndexNotFoundException( I18n.err( I18n.ERR_49001_USER_INDEX_DOES_NOT_EXIST, attributeType, attributeType ) ); } @@ -3162,7 +3162,7 @@ public Index getSystemIndex( AttributeType attributeType ) throws Ind { if ( attributeType == null ) { - throw new IndexNotFoundException( I18n.err( I18n.ERR_2, attributeType, attributeType ) ); + throw new IndexNotFoundException( I18n.err( I18n.ERR_49000_SYSTEM_INDEX_DOES_NOT_EXIST, attributeType, attributeType ) ); } String oid = attributeType.getOid(); @@ -3172,7 +3172,7 @@ public Index getSystemIndex( AttributeType attributeType ) throws Ind return systemIndices.get( oid ); } - throw new IndexNotFoundException( I18n.err( I18n.ERR_2, attributeType, attributeType ) ); + throw new IndexNotFoundException( I18n.err( I18n.ERR_49000_SYSTEM_INDEX_DOES_NOT_EXIST, attributeType, attributeType ) ); } @@ -3337,7 +3337,7 @@ protected void addAliasIndices( PartitionTxn partitionTxn, String aliasId, Dn al */ if ( !aliasTarget.isDescendantOf( suffixDn ) ) { - String msg = I18n.err( I18n.ERR_225, suffixDn.getName() ); + String msg = I18n.err( I18n.ERR_49012_ALIAS_POINTING_TO_OUTSIDE_NAMING_CONTEX, suffixDn.getName() ); throw new LdapAliasDereferencingException( msg ); } @@ -3353,7 +3353,7 @@ protected void addAliasIndices( PartitionTxn partitionTxn, String aliasId, Dn al if ( null == targetId ) { // Complain about target not existing - String msg = I18n.err( I18n.ERR_581, aliasDn.getName(), aliasTarget ); + String msg = I18n.err( I18n.ERR_49015_ALIAS_REFERENCING_UNKNOWN_OBJECT, aliasDn.getName(), aliasTarget ); throw new LdapAliasException( msg ); } @@ -3369,7 +3369,7 @@ protected void addAliasIndices( PartitionTxn partitionTxn, String aliasId, Dn al */ if ( null != aliasIdx.reverseLookup( partitionTxn, targetId ) ) { - String msg = I18n.err( I18n.ERR_227 ); + String msg = I18n.err( I18n.ERR_49013_ALIAS_POINTING_TO_ANOTHER_ALIAS ); throw new LdapAliasDereferencingException( msg ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndex.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndex.java index 0252c653fd..ef32effb0a 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndex.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractIndex.java @@ -150,7 +150,7 @@ protected void protect( String property ) { if ( initialized ) { - throw new IllegalStateException( I18n.err( I18n.ERR_575, property ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49027_INDEX_PROPERTY_CANNOT_BE_SET_AFTER_INIT, property ) ); } } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractTable.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractTable.java index 91170d37e6..0bc23de5e4 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractTable.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/AbstractTable.java @@ -77,7 +77,7 @@ protected AbstractTable( SchemaManager schemaManager, String name, Comparator if ( keyComparator == null ) { - throw new IllegalArgumentException( I18n.err( I18n.ERR_591 ) ); + throw new IllegalArgumentException( I18n.err( I18n.ERR_49028_NULL_KEY_COMPARATOR ) ); } else { diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java index 6359967958..ddde12d5a3 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java @@ -151,7 +151,7 @@ public boolean next() throws LdapException, CursorException public IndexEntry get() throws CursorException { checkNotClosed(); - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_703 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49030_EMPTY_CURSOR ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/IndexNotFoundException.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/IndexNotFoundException.java index 5352f2a1f2..ad95fae0c8 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/IndexNotFoundException.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/IndexNotFoundException.java @@ -45,7 +45,7 @@ public class IndexNotFoundException extends NamingException */ public IndexNotFoundException( String indexName ) { - super( I18n.err( I18n.ERR_704, indexName ) ); + super( I18n.err( I18n.ERR_49031_CANNOT_SEARCH_THE_DIB_WITHOUT_INDEX, indexName ) ); this.indexName = indexName; } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java index 25b78879d5..e36c85fd6d 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java @@ -246,11 +246,11 @@ public IndexEntry get() throws CursorException if ( beforeFirst ) { - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_705 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49032_CANNOT_ACCESS_ELEMENT_BEFORE_FIRST ) ); } else { - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_706 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49033_CANNOT_ACCESS_ELEMENT_AFTER_LAST ) ); } } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlIndex.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlIndex.java index f0d4d6f604..a8e25b3a43 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlIndex.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlIndex.java @@ -92,7 +92,7 @@ public void init( SchemaManager schemaManager, AttributeType attributeType ) thr if ( normalizer == null ) { - throw new LdapOtherException( I18n.err( I18n.ERR_212, attributeType ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49018_NO_NORMALIZER_FOR_ATTRIBUTE_TYPE, attributeType ) ); } LdapComparator comp = ( LdapComparator ) mr.getLdapComparator(); @@ -372,7 +372,7 @@ public Cursor reverseValueCursor( PartitionTxn partitionTxn, String id ) thro */ public void setWkDirPath( URI wkDirPath ) { - throw new UnsupportedOperationException( I18n.err( I18n.ERR_213 ) ); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_49019_CANNOT_USE_IN_MEMORY_INDEX_TO_STORE_DATA ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java index 37ad778bdb..eff8b32410 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlRdnIndex.java @@ -72,7 +72,7 @@ public void init( SchemaManager schemaManager, AttributeType attributeType ) thr if ( normalizer == null ) { - throw new LdapOtherException( I18n.err( I18n.ERR_212, attributeType ) ); + throw new LdapOtherException( I18n.err( I18n.ERR_49018_NO_NORMALIZER_FOR_ATTRIBUTE_TYPE, attributeType ) ); } ParentIdAndRdnComparator comp = new ParentIdAndRdnComparator<>( mr.getOid() ); diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java index d702d93e14..47ab27da8c 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java @@ -55,7 +55,7 @@ public class AndCursor extends AbstractIndexCursor private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); /** The message for unsupported operations */ - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_707 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49020_AND_CURSOR_NOT_ORDERED ); /** */ private final Cursor> wrapped; @@ -192,7 +192,7 @@ public IndexEntry get() throws CursorException return wrapped.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java index c12a954b64..4487111764 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java @@ -302,7 +302,7 @@ public IndexEntry get() throws CursorException return ( IndexEntry ) uuidIdxCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java index e3e3af657c..b06ab16238 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java @@ -51,7 +51,7 @@ public class ChildrenCursor extends AbstractIndexCursor private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); /** Error message for unsupported operations */ - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_719 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49022_SCOPE_CURSOR_NOT_ORDERED ); /** A Cursor over the entries in the scope of the search base */ private final Cursor> cursor; diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java index bd67f4d6ba..03f256f6dd 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java @@ -54,7 +54,7 @@ public class DescendantCursor extends AbstractIndexCursor private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); /** Error message for unsupported operations */ - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_719 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49022_SCOPE_CURSOR_NOT_ORDERED ); /** The entry database/store */ private final Store db; diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java index c21bd504f2..f3fd4d77af 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java @@ -59,7 +59,7 @@ public class EqualityCursor extends AbstractIndexCursor private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); /** The message for unsupported operations */ - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_714 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49023_EQUALITY_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS ); /** An equality evaluator for candidates */ private final EqualityEvaluator equalityEvaluator; @@ -304,7 +304,7 @@ public IndexEntry get() throws CursorException return ( IndexEntry ) uuidIdxCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java index af40777fed..eb6bee8a74 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java @@ -361,7 +361,7 @@ public IndexEntry get() throws CursorException return userIdxCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } if ( available() ) @@ -369,7 +369,7 @@ public IndexEntry get() throws CursorException return ( IndexEntry ) uuidCandidate; } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java index ee4df3a9f2..d40e437939 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java @@ -57,7 +57,7 @@ public class LessEqCursor extends AbstractIndexCursor /** Speedup for logs */ private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_716 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49024_LESS_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS ); /** An less eq evaluator for candidates */ private final LessEqEvaluator lessEqEvaluator; @@ -381,7 +381,7 @@ public IndexEntry get() throws CursorException return userIdxCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } if ( available() ) @@ -389,7 +389,7 @@ public IndexEntry get() throws CursorException return ( IndexEntry ) uuidCandidate; } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java index 2888c25407..a85d65447e 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java @@ -50,7 +50,7 @@ public class NotCursor extends AbstractIndexCursor /** Speedup for logs */ private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_718 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49025_NOT_CURSOR_NOT_ORDERED ); private final AllEntriesCursor uuidCursor; private final Evaluator childEvaluator; @@ -185,7 +185,7 @@ public IndexEntry get() throws CursorException return ( IndexEntry ) uuidCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java index ae92ae6121..99bf478362 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java @@ -54,7 +54,7 @@ public class OrCursor extends AbstractIndexCursor /** Speedup for logs */ private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_722 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49041_OR_CURSOR_NOT_ORDERED ); private final List>> cursors; private final List> evaluators; private final List> blacklists; @@ -82,7 +82,7 @@ public OrCursor( PartitionTxn partitionTxn, List>> if ( cursors.size() <= 1 ) { - throw new IllegalArgumentException( I18n.err( I18n.ERR_723 ) ); + throw new IllegalArgumentException( I18n.err( I18n.ERR_49042_MUST_HAVE_2_SUB_EXPRESSIONS ) ); } this.cursors = cursors; @@ -294,7 +294,7 @@ public IndexEntry get() throws CursorException return prefetched; } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java index 0b907d4da1..3cec7c9d2a 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java @@ -51,7 +51,7 @@ public class PresenceCursor extends AbstractIndexCursor /** Speedup for logs */ private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_724 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49043_PRESENCE_CURSOR_ONLY_SUPPORT_POSITIONING_WHEN_INDEX_EXISTS ); private final Cursor> uuidCursor; private final Cursor> presenceCursor; private final PresenceEvaluator presenceEvaluator; @@ -301,7 +301,7 @@ public IndexEntry get() throws CursorException return presenceCursor.get(); } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } if ( available() ) @@ -321,7 +321,7 @@ public IndexEntry get() throws CursorException return prefetched; } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java index ce3010bdd3..2717751c5b 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java @@ -53,7 +53,7 @@ public class SubstringCursor extends AbstractIndexCursor /** Speedup for logs */ private static final boolean IS_DEBUG = LOG_CURSOR.isDebugEnabled(); - private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_725 ); + private static final String UNSUPPORTED_MSG = I18n.err( I18n.ERR_49044_SUBSTRING_CURSOR_NOT_ORDERED ); private final boolean hasIndex; private final Cursor> wrapped; private final SubstringEvaluator evaluator; @@ -262,7 +262,7 @@ public IndexEntry get() throws CursorException return indexEntry; } - throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) ); + throw new InvalidCursorPositionException( I18n.err( I18n.ERR_49021_CURSOR_NOT_POSITIONED ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/ApproximateEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/ApproximateEvaluator.java index cdca842128..e6ff336b7b 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/ApproximateEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/ApproximateEvaluator.java @@ -81,7 +81,7 @@ public ApproximateEvaluator( ApproximateNode node, Store db, SchemaManager sc if ( mr == null ) { - throw new IllegalStateException( I18n.err( I18n.ERR_709, node ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49034_COULD_NOT_FIND_MATCHING_RULE, node ) ); } normalizer = mr.getNormalizer(); diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/BaseLevelScopeEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/BaseLevelScopeEvaluator.java index 7726c5588a..a4ec8bd7df 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/BaseLevelScopeEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/BaseLevelScopeEvaluator.java @@ -77,7 +77,7 @@ public BaseLevelScopeEvaluator( Store db, ScopeNode node ) */ public boolean evaluate( Entry candidate ) throws LdapException { - throw new UnsupportedOperationException( I18n.err( I18n.ERR_721 ) ); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_49040_INEFFICIENT_WITHOUT_GET_ID ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/GreaterEqEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/GreaterEqEvaluator.java index b56c03c633..010dc077b6 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/GreaterEqEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/GreaterEqEvaluator.java @@ -92,7 +92,7 @@ public GreaterEqEvaluator( GreaterEqNode node, Store db, SchemaManager schema if ( mr == null ) { - throw new IllegalStateException( I18n.err( I18n.ERR_715, node ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49037_COULD_NOT_FIND_MATCHING_RULE_FOR_GREATER_EQ_NODE, node ) ); } normalizer = mr.getNormalizer(); diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/LessEqEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/LessEqEvaluator.java index 352f8e9a36..043e5275b5 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/LessEqEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/LessEqEvaluator.java @@ -92,7 +92,7 @@ public LessEqEvaluator( LessEqNode node, Store db, SchemaManager schemaManage if ( mr == null ) { - throw new IllegalStateException( I18n.err( I18n.ERR_717, node ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49038_COULD_NOT_FIND_MATCHING_RULE_FOR_LESS_EQ_NODE, node ) ); } normalizer = mr.getNormalizer(); diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/OneLevelScopeEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/OneLevelScopeEvaluator.java index 3d339861aa..9ab684636d 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/OneLevelScopeEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/OneLevelScopeEvaluator.java @@ -64,7 +64,7 @@ public OneLevelScopeEvaluator( Store db, ScopeNode node ) if ( node.getScope() != SearchScope.ONELEVEL ) { - throw new IllegalStateException( I18n.err( I18n.ERR_720 ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49039_SCOPE_NODE_NOT_ONE_LEVEL ) ); } this.db = db; @@ -84,7 +84,7 @@ public OneLevelScopeEvaluator( Store db, ScopeNode node ) */ public boolean evaluate( Entry candidate ) throws LdapException { - throw new UnsupportedOperationException( I18n.err( I18n.ERR_721 ) ); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_49040_INEFFICIENT_WITHOUT_GET_ID ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/SubtreeScopeEvaluator.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/SubtreeScopeEvaluator.java index e88aab6e74..0e4a34a8c0 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/SubtreeScopeEvaluator.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/evaluator/SubtreeScopeEvaluator.java @@ -82,7 +82,7 @@ public SubtreeScopeEvaluator( PartitionTxn partitionTxn, Store db, ScopeNode nod if ( node.getScope() != SearchScope.SUBTREE ) { - throw new IllegalStateException( I18n.err( I18n.ERR_727 ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49045_SCOPE_NODE_NOT_IN_SUBTREE_SCOPE ) ); } baseId = node.getBaseId(); @@ -219,7 +219,7 @@ else if ( null != db.getAliasIndex().reverseLookup( partitionTxn, id ) ) @Override public boolean evaluate( Entry candidate ) throws LdapException { - throw new UnsupportedOperationException( I18n.err( I18n.ERR_721 ) ); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_49040_INEFFICIENT_WITHOUT_GET_ID ) ); } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java index 6359409171..3964016ddd 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java @@ -157,7 +157,7 @@ public long build( PartitionTxn partitionTxn, ExprNode node, PartitionSearch throw new NotImplementedException(); default: - throw new IllegalStateException( I18n.err( I18n.ERR_260, node.getAssertionType() ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49026_UNKNOWN_ASSERTION_TYPE, node.getAssertionType() ) ); } } catch ( IndexNotFoundException | CursorException | IOException e ) diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java index f39095752d..30a5a150d5 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java @@ -186,7 +186,7 @@ else if ( node instanceof ApproximateNode ) } else { - throw new IllegalArgumentException( I18n.err( I18n.ERR_711 ) ); + throw new IllegalArgumentException( I18n.err( I18n.ERR_49035_UNRECOGNIZED_LEAF_NODE ) ); } } catch ( IndexNotFoundException | IOException e ) @@ -517,7 +517,7 @@ private long getScopeScan( PartitionTxn partitionTxn, ScopeNode node ) throws Ld } default: - throw new IllegalArgumentException( I18n.err( I18n.ERR_713 ) ); + throw new IllegalArgumentException( I18n.err( I18n.ERR_49036_UNRECOGNIZED_SEARCH_SCOPE ) ); } } } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java index 94ab6a49c7..f841996411 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultSearchEngine.java @@ -143,7 +143,7 @@ public PartitionSearchResult computeResult( PartitionTxn partitionTxn, SchemaMan else { // The search base doesn't exist - throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_648, baseDn ) ); + throw new LdapNoSuchObjectException( I18n.err( I18n.ERR_49029_INVALID_SEARCH_BASE, baseDn ) ); } } diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/EvaluatorBuilder.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/EvaluatorBuilder.java index 109e130dba..7eb9ba3e0c 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/EvaluatorBuilder.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/EvaluatorBuilder.java @@ -144,7 +144,7 @@ public Evaluator build( PartitionTxn partitionTxn, ExprN throw new NotImplementedException(); default: - throw new IllegalStateException( I18n.err( I18n.ERR_260, node.getAssertionType() ) ); + throw new IllegalStateException( I18n.err( I18n.ERR_49026_UNKNOWN_ASSERTION_TYPE, node.getAssertionType() ) ); } }