// Depending on the Context.REFERRAL property value, we will throw
// a different exception.
if ( searchContext.isReferralIgnored() )
{
LdapPartialResultException exception = buildLdapPartialResultException( childDn );
throw exception;
}
else
{
LdapReferralException exception = buildReferralExceptionForSearch( parentEntry, childDn,