public class TooComplexToDeterminizeException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private Automaton |
automaton |
private int |
maxDeterminizedStates |
private RegExp |
regExp |
Constructor and Description |
---|
TooComplexToDeterminizeException(Automaton automaton,
int maxDeterminizedStates)
Use this constructor when the automaton failed to determinize.
|
TooComplexToDeterminizeException(RegExp regExp,
TooComplexToDeterminizeException cause)
Use this constructor when the RegExp failed to convert to an automaton.
|
Modifier and Type | Method and Description |
---|---|
Automaton |
getAutomaton()
Returns the automaton that caused this exception, if any.
|
int |
getMaxDeterminizedStates()
Get the maximum number of allowed determinized states.
|
RegExp |
getRegExp()
Return the RegExp that caused this exception if any.
|
private final transient Automaton automaton
private final transient RegExp regExp
private final transient int maxDeterminizedStates
public TooComplexToDeterminizeException(RegExp regExp, TooComplexToDeterminizeException cause)
public TooComplexToDeterminizeException(Automaton automaton, int maxDeterminizedStates)
public Automaton getAutomaton()
public RegExp getRegExp()
public int getMaxDeterminizedStates()