| Modifier and Type | Class and Description |
|---|---|
| public static enum | PatternParseException.PatternMessage
The messages that can be included in a |
| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | |
| private final PatternParseException. | |
| private final char[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | PatternParseException(int pos, char[] pattern, PatternParseException.
|
| pack-priv | PatternParseException(Throwable cause, int pos, char[] pattern, PatternParseException.
|
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | |
| public String | getMessage()
Overrides java. |
| public PatternParseException. | |
| public int | |
| public String | toDetailedString()
Return a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message. |
| inserts | back to summary |
|---|---|
| private final Object[] inserts | |
| messageType | back to summary |
|---|---|
| private final PatternParseException. | |
| pattern | back to summary |
|---|---|
| private final char[] pattern | |
| position | back to summary |
|---|---|
| private final int position | |
| PatternParseException | back to summary |
|---|---|
| pack-priv PatternParseException(int pos, char[] pattern, PatternParseException. | |
| PatternParseException | back to summary |
|---|---|
| pack-priv PatternParseException(Throwable cause, int pos, char[] pattern, PatternParseException. | |
| getInserts | back to summary |
|---|---|
| public Object[] getInserts() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Return a formatted message with inserts applied.
| |
| getMessageType | back to summary |
|---|---|
| public PatternParseException. | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| toDetailedString | back to summary |
|---|---|
| public String toDetailedString() Return a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message. | |
PatternParseException when there is a parse failure.
| Modifier and Type | Field and Description |
|---|---|
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| private final String | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. | |
| public static final PatternParseException. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static PatternParseException. | |
| public static PatternParseException. |
| BADLY_FORMED_CAPTURE_THE_REST | back to summary |
|---|---|
| public static final PatternParseException. | |
| CANNOT_HAVE_ADJACENT_CAPTURES | back to summary |
|---|---|
| public static final PatternParseException. | |
| CAPTURE_ALL_IS_STANDALONE_CONSTRUCT | back to summary |
|---|---|
| public static final PatternParseException. | |
| ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR | back to summary |
|---|---|
| public static final PatternParseException. | |
| ILLEGAL_CHARACTER_IN_CAPTURE_DESCRIPTOR | back to summary |
|---|---|
| public static final PatternParseException. | |
| ILLEGAL_DOUBLE_CAPTURE | back to summary |
|---|---|
| public static final PatternParseException. | |
| ILLEGAL_NESTED_CAPTURE | back to summary |
|---|---|
| public static final PatternParseException. | |
| message | back to summary |
|---|---|
| private final String message | |
| MISSING_CLOSE_CAPTURE | back to summary |
|---|---|
| public static final PatternParseException. | |
| MISSING_OPEN_CAPTURE | back to summary |
|---|---|
| public static final PatternParseException. | |
| MISSING_REGEX_CONSTRAINT | back to summary |
|---|---|
| public static final PatternParseException. | |
| NO_MORE_DATA_EXPECTED_AFTER_CAPTURE_THE_REST | back to summary |
|---|---|
| public static final PatternParseException. | |
| REGEX_PATTERN_SYNTAX_EXCEPTION | back to summary |
|---|---|
| public static final PatternParseException. | |
| PatternMessage | back to summary |
|---|---|
| private PatternMessage(String message) | |
| formatMessage | back to summary |
|---|---|
| public String formatMessage(Object... inserts) | |
| valueOf | back to summary |
|---|---|
| public static PatternParseException. | |
| values | back to summary |
|---|---|
| public static PatternParseException. | |