public class TooComplexToDeterminizeException extends RuntimeException
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooComplexToDeterminizeException(RegExp regExp, TooComplexToDeterminizeException cause)
public TooComplexToDeterminizeException(Automaton automaton, int maxDeterminizedStates)
public Automaton getAutomaton()
public RegExp getRegExp()
public int getMaxDeterminizedStates()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.