AttributeType oldAt = factory.getAttributeType( entry, targetRegistries, oldSchema.getSchemaName() );
Set<ServerEntry> dependees = dao.listAttributeTypeDependents( oldAt );
if ( dependees != null && dependees.size() > 0 )
{
throw new LdapOperationNotSupportedException( "The attributeType with OID " + oldAt.getOid()
+ " cannot be deleted until all entities"
+ " using this attributeType have also been deleted. The following dependees exist: "
+ getOids( dependees ),
ResultCodeEnum.UNWILLING_TO_PERFORM );
}