public class RegexSyntaxException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_POSITION
Represents an unknown position within a string containing a regular expression.
|
Constructor and Description |
---|
RegexSyntaxException(java.lang.String detail) |
RegexSyntaxException(java.lang.String detail,
int position) |
Modifier and Type | Method and Description |
---|---|
int |
getPosition()
Returns the index into the regular expression where the error was detected
or
UNKNOWN_POSITION if this is unknown. |
public static final int UNKNOWN_POSITION