Enum Class ErrorType
- All Implemented Interfaces:
Serializable,Comparable<ErrorType>,Constable
Java class for ErrorType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ErrorType">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="environment"/>
<enumeration value="syntax"/>
<enumeration value="include"/>
<enumeration value="semantic"/>
<enumeration value="internal"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error with the environment in which the translator is running.An included CQL library could not be loaded.An unexpected error in the translator.Any kind of semantic error with the CQL.Any kind of syntax error with the CQL. -
Method Summary
-
Enum Constant Details
-
ENVIRONMENT
An error with the environment in which the translator is running. -
SYNTAX
Any kind of syntax error with the CQL. These errors can be addressed by correcting the error in the input CQL. -
INCLUDE
An included CQL library could not be loaded. These errors can be addressed by correcting the error condition for the referenced library. -
SEMANTIC
Any kind of semantic error with the CQL. These errors can be addressed by correcting the error in the input CQL. -
INTERNAL
An unexpected error in the translator. These errors should be reported as issues to the translator tooling support team.
-
-
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
-
value
-
fromValue
-