public virtual void endSubstrings()
{
try
{
finalFound = false;
Asn1SequenceOf substringSeq = (Asn1SequenceOf) filterStack.Peek();
if (substringSeq.size() == 0)
{
throw new LdapLocalException("Empty substring filter", LdapException.FILTER_ERROR);
}
}
catch (System.InvalidCastException e)
{
throw new LdapLocalException("Missmatched ending of substrings", LdapException.FILTER_ERROR);
}
filterStack.Pop();
return ;
}