You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2024/08/21 16:06:39 UTC
(directory-server) 01/02: Partial fix to DIRSERVER_1728: interceptor-schema
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git
commit 76a34d8f0d6895580d4a1b599c5beda3751c4b36
Merge: 0e730170fe cdc4fdb1d1
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Aug 21 17:31:33 2024 +0200
Partial fix to DIRSERVER_1728: interceptor-schema
.../org/apache/directory/server/i18n/I18n.java | 41 +++++++++++----------
.../apache/directory/server/i18n/errors.properties | 43 +++++++++++-----------
.../server/core/schema/SchemaInterceptor.java | 36 +++++++++---------
.../server/core/schema/SchemaSubentryManager.java | 8 ++--
4 files changed, 66 insertions(+), 62 deletions(-)
diff --cc i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
index 09098ea214,e03d5e755b..f875fc844b
--- a/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
+++ b/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
@@@ -356,16 -356,8 +356,35 @@@ public enum I18
// No error
// apacheds-interceptors-referral errors 27000 - 27999
+ ERR_27000_LDAPURL_CONTAINS_SCOPE("ERR_27000_LDAPURL_CONTAINS_SCOPE"),
+ ERR_27001_LDAPURL_CONTAINS_FILTERS("ERR_27001_LDAPURL_CONTAINS_FILTERS"),
+ ERR_27002_LDAPURL_CONTAINS_DESCRIPTION_ATTRIBUTE_LIST("ERR_27002_LDAPURL_CONTAINS_DESCRIPTION_ATTRIBUTE_LIST"),
+ ERR_27003_LDAPURL_CONTAINS_EXTENSION("ERR_27003_LDAPURL_CONTAINS_EXTENSION"),
+ ERR_27004_LDAPURL_CONTAINS_CRITICL_EXTENSION("ERR_27004_LDAPURL_CONTAINS_CRITICL_EXTENSION"),
+ ERR_27005_LDAPURL_DOES_NOT_CONTAIN_NON_EMPTY_DN("ERR_27005_LDAPURL_DOES_NOT_CONTAIN_NON_EMPTY_DN"),
+ ERR_27006_REFERAL_ENTRY_WITHOUT_REF_ATTRIBUTE("ERR_27006_REFERAL_ENTRY_WITHOUT_REF_ATTRIBUTE"),
+
// apacheds-interceptors-schema errors 28000 - 28999
ERR_28000_OBJECT_NOT_FOUND_IN_AT_REGISTRY("ERR_28000_OBJECT_NOT_FOUND_IN_AT_REGISTRY"),
++ ERR_28001_NULL_FILTER("ERR_28001_NULL_FILTER"),
++ ERR_28002_CANNOT_MODIFY_ATTRIBUTE("ERR_28002_CANNOT_MODIFY_ATTRIBUTE"),
++ ERR_28003_CANNOT_ADD_ALREADY_PRESENT_VALUE("ERR_28003_CANNOT_ADD_ALREADY_PRESENT_VALUE"),
++ ERR_28004_CANNOT_REMOVE_ABSENT_ATTRIBUTE("ERR_28004_CANNOT_REMOVE_ABSENT_ATTRIBUTE"),
++ ERR_28005_CANNOT_REMOVE_ABSENT_VALUE("ERR_28005_CANNOT_REMOVE_ABSENT_VALUE"),
++ ERR_28006_ABSTRACT_OBJECT_CLASS_CANNOT_INHERIT_NON_ABSTRACT("ERR_28006_ABSTRACT_OBJECT_CLASS_CANNOT_INHERIT_NON_ABSTRACT"),
++ ERR_28007_AUXILIARY_OC_MUST_INHERIT_ABSTRACT_OR_AUXILIARY("ERR_28007_AUXILIARY_OC_MUST_INHERIT_ABSTRACT_OR_AUXILIARY"),
++ ERR_28008_SUPERIOR_MUST_EXIST("ERR_28008_SUPERIOR_MUST_EXIST"),
++ ERR_28009__ENTRY_WITHOUT_STRUCTURAL_OC("ERR_28009__ENTRY_WITHOUT_STRUCTURAL_OC"),
++ ERR_28010_ENTRY_HAS_2_STRUCTURAL_OC("ERR_28010_ENTRY_HAS_2_STRUCTURAL_OC"),
++ ERR_28011_MISSING_ATTRIBUTE_TYPE_PRESENT_IN_RDN("ERR_28011_MISSING_ATTRIBUTE_TYPE_PRESENT_IN_RDN"),
++ ERR_28012_ATTRIBUTE_NOT_FOUND_IN_REGISTRY("ERR_28012_ATTRIBUTE_NOT_FOUND_IN_REGISTRY"),
++ ERR_28013_ATTRIBUTE_NOT_DECLARED_IN_OC("ERR_28013_ATTRIBUTE_NOT_DECLARED_IN_OC"),
++ ERR_28014_MANY_VALUES_FOR_SINGLE_VALUE_ATTRIBUTE("ERR_28014_MANY_VALUES_FOR_SINGLE_VALUE_ATTRIBUTE"),
++ ERR_28015_MISSING_REQUIRED_ATTRIBUTE("ERR_28015_MISSING_REQUIRED_ATTRIBUTE"),
++ ERR_28016_INCORRECT_ATTRIBUTE_VALUE("ERR_28016_INCORRECT_ATTRIBUTE_VALUE"),
++ ERR_28017_REPLACE_OPERATION_FORBIDDEN_ON_SCHEMA_SUBENTRY("ERR_28017_REPLACE_OPERATION_FORBIDDEN_ON_SCHEMA_SUBENTRY"),
++ ERR_28018_UNDEFINED_MODIFY_OPERATION("ERR_28018_UNDEFINED_MODIFY_OPERATION"),
++ ERR_28019_UNKOWN_INDEX("ERR_28019_UNKOWN_INDEX"),
// apacheds-interceptors-subtree errors 29000 - 29999
// apacheds-interceptors-trigger errors 30000 - 30999
@@@ -536,20 -535,20 +555,10 @@@
ERR_44("ERR_44"),
ERR_47("ERR_47"),
ERR_48("ERR_48"),
-- ERR_49("ERR_49"),
ERR_50("ERR_50"),
ERR_51("ERR_51"),
-- ERR_52("ERR_52"),
ERR_53("ERR_53"),
-- ERR_54("ERR_54"),
-- ERR_55("ERR_55"),
-- ERR_56("ERR_56"),
-- ERR_57("ERR_57"),
-- ERR_58("ERR_58"),
-- ERR_59("ERR_59"),
-- ERR_60("ERR_60"),
-- ERR_61("ERR_61"),
-- ERR_62("ERR_62"),
++
ERR_63("ERR_63"),
ERR_64("ERR_64"),
ERR_71("ERR_71"),
@@@ -637,16 -636,16 +646,10 @@@
ERR_272_MODIFY_LEAVES_NO_STRUCTURAL_OBJECT_CLASS("ERR_272_MODIFY_LEAVES_NO_STRUCTURAL_OBJECT_CLASS"),
ERR_273("ERR_273"),
ERR_274("ERR_274"),
-- ERR_275("ERR_275"),
-- ERR_277("ERR_277"),
-- ERR_278("ERR_278"),
-- ERR_279("ERR_279"),
-- ERR_280("ERR_280"),
ERR_281("ERR_281"),
ERR_282("ERR_282"),
-- ERR_283("ERR_283"),
-- ERR_284("ERR_284"),
-- ERR_285("ERR_285"),
++
++
ERR_305("ERR_305"),
ERR_306("ERR_306"),
ERR_307("ERR_307"),
diff --cc i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
index dd2af03bb5,79bd05aa1f..52cd93f0b4
--- a/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
+++ b/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
@@@ -344,16 -346,8 +344,35 @@@ ERR_25001_CANNOT_MODIFY__MODIFIERS_NAME
# --- no error ---
# apacheds-interceptors-referral errors 27000 - 27999
+ERR_27000_LDAPURL_CONTAINS_SCOPE=An LDAPURL should not contains a scope
+ERR_27001_LDAPURL_CONTAINS_FILTERS=An LDAPURL should not contains filters
+ERR_27002_LDAPURL_CONTAINS_DESCRIPTION_ATTRIBUTE_LIST=An LDAPURL should not contains any description attribute list
+ERR_27003_LDAPURL_CONTAINS_EXTENSION=An LDAPURL should not contains any extension
+ERR_27004_LDAPURL_CONTAINS_CRITICL_EXTENSION=An LDAPURL should not contains any critical extension
+ERR_27005_LDAPURL_DOES_NOT_CONTAIN_NON_EMPTY_DN=An LDAPURL should contains a non-empty DN
+ERR_27006_REFERAL_ENTRY_WITHOUT_REF_ATTRIBUTE=An entry with a ''referral'' ObjectClass must contains a ''ref'' Attribute
+
# apacheds-interceptors-schema errors 28000 - 28999
ERR_28000_OBJECT_NOT_FOUND_IN_AT_REGISTRY={0} not found within the attributeType registry
++ERR_28001_NULL_FILTER=A filter should not be null
++ERR_28002_CANNOT_MODIFY_ATTRIBUTE_=Cannot modify the attribute : {0}
++ERR_28003_CANNOT_ADD_ALREADY_PRESENT_VALUE=Cannot add a value which is already present : {0}
++ERR_28004_CANNOT_REMOVE_ABSENT_ATTRIBUTE=Trying to remove an non-existant attribute: {0}
++ERR_28005_CANNOT_REMOVE_ABSENT_VALUE=Cannot remove an absent value from attribute : {0}
++ERR_28006_ABSTRACT_OBJECT_CLASS_CANNOT_INHERIT_NON_ABSTRACT=An ABSTRACT ObjectClass cannot inherit from an objectClass which is not ABSTRACT
++ERR_28007_AUXILIARY_OC_MUST_INHERIT_ABSTRACT_OR_AUXILIARY=An AUXILiARY ObjectClass cannot inherit from an objectClass which is not ABSTRACT or AUXILIARY
++ERR_28008_SUPERIOR_MUST_EXIST=Cannot have a superior which does not exist
++ERR_28009__ENTRY_WITHOUT_STRUCTURAL_OC=Entry {0} does not contain a STRUCTURAL ObjectClass
++ERR_28010_ENTRY_HAS_2_STRUCTURAL_OC=Entry {0} contains more than one STRUCTURAL ObjectClass: {1}
++ERR_28011_MISSING_ATTRIBUTE_TYPE_PRESENT_IN_RDN=Entry {0} does not have the {1} attributeType, which is part of the RDN";
++ERR_28012_ATTRIBUTE_NOT_FOUND_IN_REGISTRY={0} not found in attribute registry!
++ERR_28013_ATTRIBUTE_NOT_DECLARED_IN_OC=Attribute {0} not declared in objectClasses of entry {1}
++ERR_28014_MANY_VALUES_FOR_SINGLE_VALUE_ATTRIBUTE=More than one value has been provided for the single-valued attribute: {0}
++ERR_28015_MISSING_REQUIRED_ATTRIBUTE=Required attributes {0} not found within entry {1}
++ERR_28016_INCORRECT_ATTRIBUTE_VALUE=Attribute value ''{0}'' for attribute ''{1}'' is syntactically incorrect
++ERR_28017_REPLACE_OPERATION_FORBIDDEN_ON_SCHEMA_SUBENTRY=Modify REPLACE operations on schema subentries are not allowed\: it''s just silly to destroy and recreate so many \nschema entities that reside in schema operational attributes. Instead use \na targeted combination of modify ADD and REMOVE operations.
++ERR_28018_UNDEFINED_MODIFY_OPERATION=Undefined modify operation: {0}
++ERR_28019_UNKOWN_INDEX=Unknown index into handler array: {0}
# apacheds-interceptors-subtree errors 29000 - 29999
# apacheds-interceptors-trigger errors 30000 - 30999
@@@ -526,20 -527,20 +545,10 @@@ ERR_44=Wrong AttributeType, does not ha
# ERR_46=
ERR_47=The value stored in an Human Readable attribute as a byte[] should be convertible to a String"
ERR_48=The value stored in a non Human Readable attribute as a String should be convertible to a byte[]
--ERR_49=A filter should not be null
ERR_50=A Substring filter should be used only on Human Readable attributes
ERR_51=A Extensible filter should be used only on Human Readable attributes
--ERR_52=Cannot modify the attribute : {0}
ERR_53=The new Attribute or one of its value is incorrect : {0}
--ERR_54=Cannot add a value which is already present : {0}
--ERR_55=Trying to remove an non-existant attribute: {0}
--ERR_56=Cannot remove an absent value from attribute : {0}
--ERR_57=An ABSTRACT ObjectClass cannot inherit from an objectClass which is not ABSTRACT
--ERR_58=An AUXILiARY ObjectClass cannot inherit from an objectClass which is not ABSTRACT or AUXILIARY
--ERR_59=Cannot have a superior which does not exist
--ERR_60=Entry {0} does not contain a STRUCTURAL ObjectClass
--ERR_61=Entry {0} contains more than one STRUCTURAL ObjectClass: {1}
--ERR_62=Entry {0} does not have the {1} attributeType, which is part of the RDN";
++
ERR_63=The value stored in a not Human Readable attribute as a String should be convertible to a byte[]
ERR_64=The value is not valid. It should be a String or a byte[]
ERR_71=failed to parse the new subtreeSpecification
@@@ -650,19 -651,19 +659,9 @@@ ERR_271=Failed to get SPI
ERR_272_MODIFY_LEAVES_NO_STRUCTURAL_OBJECT_CLASS=Modify operation leaves no structural objectClass for entry {0}
ERR_273=Modify operation attempts to delete RDN attribute {0} on entry {1} violates schema constraints
ERR_274=Modify operation attempts to delete RDN attribute values in use for {0} on entry {1} and violates schema constraints
--ERR_275={0} not found in attribute registry!
--ERR_277=Attribute {0} not declared in objectClasses of entry {1}
--ERR_278=More than one value has been provided for the single-valued attribute: {0}
--ERR_279=Required attributes {0} not found within entry {1}
--ERR_280=Attribute value ''{0}'' for attribute ''{1}'' is syntactically incorrect
ERR_281=The value is not a valid String
ERR_282=The value stored in an Human Readable attribute is not a String
--ERR_283=Modify REPLACE operations on schema subentries are not allowed\: it''s just silly to destroy and recreate so many \nschema entities that reside in schema operational attributes. Instead use \na targeted combination of modify ADD and REMOVE operations.
--ERR_284=Undefined modify operation: {0}
--ERR_285=Unknown index into handler array: {0}
--# ERR_298=
--# ERR_299=
--# ERR_300=
++
ERR_305=A subentry must have an objectClass attribute
ERR_306=Administration point {0} does not contain an administrativeRole attribute! An administrativeRole attribute in the administrative point is required to add a subordinate subentry.
ERR_307=Failed while parsing subtreeSpecification for {0}
diff --cc interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
index 78cb226476,78cb226476..e1c25d8b0f
--- a/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
+++ b/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
@@@ -379,7 -379,7 +379,7 @@@ public class SchemaInterceptor extends
{
if ( filter == null )
{
-- String message = I18n.err( I18n.ERR_49 );
++ String message = I18n.err( I18n.ERR_28001_NULL_FILTER );
LOG.error( message );
throw new LdapException( message );
}
@@@ -700,7 -700,7 +700,7 @@@
if ( currentAttribute.contains( value ) )
{
// This is an error.
-- String msg = I18n.err( I18n.ERR_54, value );
++ String msg = I18n.err( I18n.ERR_28003_CANNOT_ADD_ALREADY_PRESENT_VALUE, value );
LOG.error( msg );
throw new LdapAttributeInUseException( msg );
}
@@@ -719,7 -719,7 +719,7 @@@
if ( ( newAttribute.size() == 0 ) && !newAttribute.isValid( attributeType ) )
{
// This is an error.
-- String msg = I18n.err( I18n.ERR_54, ( Object[] ) null );
++ String msg = I18n.err( I18n.ERR_28003_CANNOT_ADD_ALREADY_PRESENT_VALUE, ( Object[] ) null );
LOG.error( msg );
throw new LdapInvalidAttributeValueException( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX, msg );
}
@@@ -733,7 -733,7 +733,7 @@@
// First check that the removed attribute exists
if ( !tempEntry.containsAttribute( attributeType ) )
{
-- String msg = I18n.err( I18n.ERR_55, attributeType );
++ String msg = I18n.err( I18n.ERR_28004_CANNOT_REMOVE_ABSENT_ATTRIBUTE, attributeType );
LOG.error( msg );
throw new LdapNoSuchAttributeException( msg );
}
@@@ -758,7 -758,7 +758,7 @@@
}
else
{
-- String msg = I18n.err( I18n.ERR_56, attributeType );
++ String msg = I18n.err( I18n.ERR_28005_CANNOT_REMOVE_ABSENT_VALUE, attributeType );
LOG.error( msg );
throw new LdapNoSuchAttributeException( msg );
}
@@@ -896,7 -896,7 +896,7 @@@
&& !attributeType.equals( directoryService.getAtProvider().getEntryCSN() )
&& !PWD_POLICY_STATE_ATTRIBUTE_TYPES.contains( attributeType ) )
{
-- String msg = I18n.err( I18n.ERR_52, attributeType );
++ String msg = I18n.err( I18n.ERR_28002_CANNOT_MODIFY_ATTRIBUTE, attributeType );
LOG.error( msg );
throw new LdapNoPermissionException( msg );
}
@@@ -947,7 -947,7 +947,7 @@@
if ( !schemaManager.getAttributeTypeRegistry().contains( attributeType.getName() ) )
{
-- throw new LdapInvalidAttributeTypeException( I18n.err( I18n.ERR_275, attributeType.getName() ) );
++ throw new LdapInvalidAttributeTypeException( I18n.err( I18n.ERR_28012_ATTRIBUTE_NOT_FOUND_IN_REGISTRY, attributeType.getName() ) );
}
}
@@@ -1030,7 -1030,7 +1030,7 @@@
case ABSTRACT:
if ( !superior.isAbstract() )
{
-- String message = I18n.err( I18n.ERR_57 );
++ String message = I18n.err( I18n.ERR_28006_ABSTRACT_OBJECT_CLASS_CANNOT_INHERIT_NON_ABSTRACT );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, message );
}
@@@ -1040,7 -1040,7 +1040,7 @@@
case AUXILIARY:
if ( !superior.isAbstract() && !superior.isAuxiliary() )
{
-- String message = I18n.err( I18n.ERR_58 );
++ String message = I18n.err( I18n.ERR_28007_AUXILIARY_OC_MUST_INHERIT_ABSTRACT_OR_AUXILIARY );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, message );
}
@@@ -1057,7 -1057,7 +1057,7 @@@
catch ( LdapException ne )
{
// The superior OC does not exist : this is an error
-- String message = I18n.err( I18n.ERR_59 );
++ String message = I18n.err( I18n.ERR_28008_SUPERIOR_MUST_EXIST );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, message );
}
@@@ -1605,7 -1605,7 +1605,8 @@@
if ( !attributeType.isCollective() && ( attributeType.getUsage() == UsageEnum.USER_APPLICATIONS )
&& !allowed.contains( attrOid ) )
{
-- throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, I18n.err( I18n.ERR_277,
++ throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION,
++ I18n.err( I18n.ERR_28013_ATTRIBUTE_NOT_DECLARED_IN_OC,
attribute.getUpId(), dn.getName() ) );
}
}
@@@ -1631,7 -1631,7 +1632,8 @@@
{
if ( attribute.size() > 1 && attribute.getAttributeType().isSingleValued() )
{
-- throw new LdapInvalidAttributeValueException( ResultCodeEnum.CONSTRAINT_VIOLATION, I18n.err( I18n.ERR_278,
++ throw new LdapInvalidAttributeValueException( ResultCodeEnum.CONSTRAINT_VIOLATION, I18n.err(
++ I18n.ERR_28014_MANY_VALUES_FOR_SINGLE_VALUE_ATTRIBUTE,
attribute.getUpId() ) );
}
}
@@@ -1666,7 -1666,7 +1668,7 @@@
sb.replace( end - 2, end, "" ); // remove the trailing ', '
sb.append( ']' );
-- throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, I18n.err( I18n.ERR_279,
++ throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, I18n.err( I18n.ERR_28015_MISSING_REQUIRED_ATTRIBUTE,
sb, dn.getName() ) );
}
}
@@@ -1707,7 -1707,7 +1709,7 @@@
if ( structuralObjectClasses.isEmpty() )
{
-- String message = I18n.err( I18n.ERR_60, dn );
++ String message = I18n.err( I18n.ERR_28009__ENTRY_WITHOUT_STRUCTURAL_OC, dn );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, message );
}
@@@ -1739,7 -1739,7 +1741,7 @@@
// Like the highlander there can only be one :).
if ( remaining.size() > 1 )
{
-- String message = I18n.err( I18n.ERR_61, dn, remaining );
++ String message = I18n.err( I18n.ERR_28010_ENTRY_HAS_2_STRUCTURAL_OC, dn, remaining );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION, message );
}
@@@ -1775,7 -1775,7 +1777,7 @@@
if ( !syntaxChecker.isValidSyntax( value.getString() ) )
{
-- String message = I18n.err( I18n.ERR_280, value.getString(), attribute.getUpId() );
++ String message = I18n.err( I18n.ERR_28016_INCORRECT_ATTRIBUTE_VALUE, value.getString(), attribute.getUpId() );
LOG.info( message );
throw new LdapInvalidAttributeValueException( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX );
}
@@@ -1792,7 -1792,7 +1794,7 @@@
if ( ( attribute == null ) || ( !attribute.contains( atav.getValue() ) ) )
{
-- String message = I18n.err( I18n.ERR_62, dn, atav.getType() );
++ String message = I18n.err( I18n.ERR_28011_MISSING_ATTRIBUTE_TYPE_PRESENT_IN_RDN, dn, atav.getType() );
LOG.error( message );
throw new LdapSchemaViolationException( ResultCodeEnum.NOT_ALLOWED_ON_RDN, message );
}
diff --cc interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
index ed8a67d12d,ed8a67d12d..458ff4822a
--- a/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
+++ b/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
@@@ -281,10 -281,10 +281,10 @@@ public class SchemaSubentryManage
}
throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
-- I18n.err( I18n.ERR_283 ) );
++ I18n.err( I18n.ERR_28017_REPLACE_OPERATION_FORBIDDEN_ON_SCHEMA_SUBENTRY ) );
default:
-- throw new IllegalStateException( I18n.err( I18n.ERR_284, mod.getOperation() ) );
++ throw new IllegalStateException( I18n.err( I18n.ERR_28018_UNDEFINED_MODIFY_OPERATION, mod.getOperation() ) );
}
}
}
@@@ -418,7 -418,7 +418,7 @@@
break;
default:
-- throw new IllegalStateException( I18n.err( I18n.ERR_285, index ) );
++ throw new IllegalStateException( I18n.err( I18n.ERR_28019_UNKOWN_INDEX, index ) );
}
}
@@@ -557,7 -557,7 +557,7 @@@
break;
default:
-- throw new IllegalStateException( I18n.err( I18n.ERR_285, index ) );
++ throw new IllegalStateException( I18n.err( I18n.ERR_28019_UNKOWN_INDEX, index ) );
}
}
}