public class TooComplexToDeterminizeException extends RuntimeException
Constructor and Description |
---|
TooComplexToDeterminizeException(Automaton automaton,
int determinizeWorkLimit)
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 |
getDeterminizeWorkLimit()
Get the maximum allowed determinize effort.
|
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 determinizeWorkLimit)
public Automaton getAutomaton()
public RegExp getRegExp()
public int getDeterminizeWorkLimit()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.