int modOp = mods[ii].getModificationOp();
Attribute change = mods[ii].getAttribute();
if ( ! atRegistry.hasAttributeType( change.getID() ) && ! objectClass.contains( "extensibleObject" ) )
{
throw new LdapInvalidAttributeIdentifierException();
}
if ( modOp == DirContext.REMOVE_ATTRIBUTE && entry.get( change.getID() ) == null )
{
throw new LdapNoSuchAttributeException();