Lucene.Net.Facet.FacetField.VerifyLabel C# (CSharp) Method

VerifyLabel() public static method

Verifies the label is not null or empty string. @lucene.internal
public static VerifyLabel ( string label ) : void
label string
return void
        public static void VerifyLabel(string label)
        {
            if (string.IsNullOrEmpty(label))
            {
                throw new System.ArgumentException("empty or null components not allowed; got: " + label);
            }
        }
    }