View Javadoc
1   package org.wikimedia.search.extra.regex.ngram;
2   
3   /**
4    * Thrown when the automaton is too complex to convert to ngrams (as measured by
5    * maxExpand).
6    */
7   public class AutomatonTooComplexException extends IllegalArgumentException {
8       /**
9        * Build it.
10       */
11      public AutomatonTooComplexException() {
12          super("The supplied automaton is too complex to extract ngrams");
13      }
14  }