public class RegexSyntaxException
extends java.lang.Exception
| Modifier and Type | Field | Description |
|---|---|---|
static int |
UNKNOWN_POSITION |
Represents an unknown position within a string containing a regular expression.
|
| Constructor | Description |
|---|---|
RegexSyntaxException(java.lang.String detail) |
|
RegexSyntaxException(java.lang.String detail,
int position) |
| Modifier and Type | Method | 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