}
else if ( dummyMonitor.getException() instanceof ContextNotEmptyException )
{
// do not follow referrals or dereference aliases when deleting entries
AliasDereferencingMethod aliasDereferencingMethod = AliasDereferencingMethod.NEVER;
ReferralHandlingMethod referralsHandlingMethod = browserConnection.getRootDSE().isControlSupported(
StudioControl.MANAGEDSAIT_CONTROL.getOid() ) ? ReferralHandlingMethod.MANAGE
: ReferralHandlingMethod.IGNORE;
// perform one-level search and delete recursively
int numberInBatch;