text: public RuleWithSetExceptions(string suffix, int min, string replacement, string[] exceptions) : base(suffix, min, replacement){for (int i = 0; i < exceptions.Length; i++){if (!exceptions[i].EndsWith(suffix, StringComparison.Ordinal)){throw new Exception("useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}}this.m_exceptions = new CharArraySet(LuceneVersion.LUCENE_CURRENT,exceptions, false);}