public String getInvalidString()
{
LdifDnLine dnLine = getDnLine();
LdifSepLine sepLine = getSepLine();
if ( dnLine == null )
return "Record must start with DN";
else if ( !dnLine.isValid() )
return dnLine.getInvalidString();
if ( sepLine == null )
return "Record must end with an empty line";
else if ( !sepLine.isValid() )
return sepLine.getInvalidString();
return super.getInvalidString();
}