Enum Class ErrorContext
- All Implemented Interfaces:
Serializable, Comparable<ErrorContext>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA syntax has been successfully initialized, and it's being checked for extra constraints such as type or numberA syntax has been successfully matched, and it's being initializedText is being matched against a patternNothing has matched the textA syntax has been successfully parsed all the way, but it's present in a section that doesn't allow it -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorContextReturns the enum constant of this class with the specified name.static ErrorContext[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESTRICTED_SYNTAXES
A syntax has been successfully parsed all the way, but it's present in a section that doesn't allow it -
CONSTRAINT_CHECKING
A syntax has been successfully initialized, and it's being checked for extra constraints such as type or number -
INITIALIZATION
A syntax has been successfully matched, and it's being initialized -
MATCHING
Text is being matched against a pattern -
NO_MATCH
Nothing has matched the text
-
-
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
-