Enum Class PatternParseException.PatternMessage
java.lang.Object
java.lang.Enum<PatternParseException.PatternMessage>
org.springframework.web.util.pattern.PatternParseException.PatternMessage
- All Implemented Interfaces:
Serializable
,Comparable<PatternParseException.PatternMessage>
,Constable
- Enclosing class:
- PatternParseException
public static enum PatternParseException.PatternMessage
extends Enum<PatternParseException.PatternMessage>
The messages that can be included in a
PatternParseException
when there is a parse failure.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionformatMessage
(Object... inserts) Returns the enum constant of this class with the specified name.static PatternParseException.PatternMessage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_CLOSE_CAPTURE
-
MISSING_OPEN_CAPTURE
-
ILLEGAL_NESTED_CAPTURE
-
CANNOT_HAVE_ADJACENT_CAPTURES
-
ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR
public static final PatternParseException.PatternMessage ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR -
ILLEGAL_CHARACTER_IN_CAPTURE_DESCRIPTOR
-
NO_MORE_DATA_EXPECTED_AFTER_CAPTURE_THE_REST
public static final PatternParseException.PatternMessage NO_MORE_DATA_EXPECTED_AFTER_CAPTURE_THE_REST -
BADLY_FORMED_CAPTURE_THE_REST
-
MISSING_REGEX_CONSTRAINT
-
ILLEGAL_DOUBLE_CAPTURE
-
REGEX_PATTERN_SYNTAX_EXCEPTION
-
CAPTURE_ALL_IS_STANDALONE_CONSTRUCT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
formatMessage
-