public static enum PatternParseException.PatternMessage extends Enum<PatternParseException.PatternMessage>
PatternParseException
when there is a parse failure.Modifier and Type | Method and Description |
---|---|
String |
formatMessage(Object... inserts) |
static PatternParseException.PatternMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatternParseException.PatternMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternParseException.PatternMessage MISSING_CLOSE_CAPTURE
public static final PatternParseException.PatternMessage MISSING_OPEN_CAPTURE
public static final PatternParseException.PatternMessage ILLEGAL_NESTED_CAPTURE
public static final PatternParseException.PatternMessage CANNOT_HAVE_ADJACENT_CAPTURES
public static final PatternParseException.PatternMessage ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR
public static final PatternParseException.PatternMessage ILLEGAL_CHARACTER_IN_CAPTURE_DESCRIPTOR
public static final PatternParseException.PatternMessage NO_MORE_DATA_EXPECTED_AFTER_CAPTURE_THE_REST
public static final PatternParseException.PatternMessage BADLY_FORMED_CAPTURE_THE_REST
public static final PatternParseException.PatternMessage MISSING_REGEX_CONSTRAINT
public static final PatternParseException.PatternMessage ILLEGAL_DOUBLE_CAPTURE
public static final PatternParseException.PatternMessage REGEX_PATTERN_SYNTAX_EXCEPTION
public static final PatternParseException.PatternMessage CAPTURE_ALL_IS_STANDALONE_CONSTRUCT
public static PatternParseException.PatternMessage[] values()
for (PatternParseException.PatternMessage c : PatternParseException.PatternMessage.values()) System.out.println(c);
public static PatternParseException.PatternMessage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null