else
{
String msg = I18n.err( I18n.ERR_364, entry.getDn().getName(),
StringTools.listToString( errors ) );
LOG.info( msg );
throw new LdapOperationNotSupportedException( msg, ResultCodeEnum.UNWILLING_TO_PERFORM );
}
}
else
{
// At least, we associates the Normalizer with the schema
schemaManager.getRegistries().associateWithSchema( errors, normalizer );
if ( !errors.isEmpty() )
{
String msg = I18n.err( I18n.ERR_365, entry.getDn().getName(),
StringTools.listToString( errors ) );
throw new LdapOperationNotSupportedException( msg, ResultCodeEnum.UNWILLING_TO_PERFORM );
}
LOG.debug( "The normalizer {} cannot be added in schema {}", dn.getName(), schemaName );
}
}