Enum Class ErrorType

java.lang.Object
java.lang.Enum<ErrorType>
org.cqframework.cql.elm.execution.ErrorType
All Implemented Interfaces:
Serializable, Comparable<ErrorType>, Constable

public enum ErrorType extends Enum<ErrorType>

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>
 
  • Enum Constant Details

    • ENVIRONMENT

      public static final ErrorType ENVIRONMENT
      An error with the environment in which the translator is running.
    • SYNTAX

      public static final ErrorType SYNTAX
      Any kind of syntax error with the CQL. These errors can be addressed by correcting the error in the input CQL.
    • INCLUDE

      public static final ErrorType INCLUDE
      An included CQL library could not be loaded. These errors can be addressed by correcting the error condition for the referenced library.
    • SEMANTIC

      public static final ErrorType SEMANTIC
      Any kind of semantic error with the CQL. These errors can be addressed by correcting the error in the input CQL.
    • INTERNAL

      public static final ErrorType INTERNAL
      An unexpected error in the translator. These errors should be reported as issues to the translator tooling support team.
  • Method Details

    • values

      public static ErrorType[] 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

      public static ErrorType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static ErrorType fromValue(String v)