Enum Class ErrorCodes

java.lang.Object
java.lang.Enum<ErrorCodes>
edu.fscj.pseudo.errors.ErrorCodes
All Implemented Interfaces:
Serializable, Comparable<ErrorCodes>, Constable

public enum ErrorCodes extends Enum<ErrorCodes>
  • Enum Constant Details

    • ERR_UNCLOSEDSTATEMENT

      public static final ErrorCodes ERR_UNCLOSEDSTATEMENT
    • ERR_UNOPENEDSTATEMENT

      public static final ErrorCodes ERR_UNOPENEDSTATEMENT
    • ERR_MISMATCHEDKEYWORDS

      public static final ErrorCodes ERR_MISMATCHEDKEYWORDS
    • ERR_TESTERROR

      public static final ErrorCodes ERR_TESTERROR
    • ERR_INVALIDVARIABLEDECLARATION

      public static final ErrorCodes ERR_INVALIDVARIABLEDECLARATION
    • ERR_INVALIDTYPEDECLARATION

      public static final ErrorCodes ERR_INVALIDTYPEDECLARATION
    • ERR_INVALIDFUNCTIONRETURN

      public static final ErrorCodes ERR_INVALIDFUNCTIONRETURN
    • ERR_FUNCTIONRETURNVARIABLENOTFOUND

      public static final ErrorCodes ERR_FUNCTIONRETURNVARIABLENOTFOUND
    • ERR_VARIABLECALLTYPE

      public static final ErrorCodes ERR_VARIABLECALLTYPE
    • ERR_VARIABLENOTDECLARED

      public static final ErrorCodes ERR_VARIABLENOTDECLARED
    • ERR_NORETURNFOUNDINFUNCTION

      public static final ErrorCodes ERR_NORETURNFOUNDINFUNCTION
    • WRN_BADINDENTATIONTOOSHORT

      public static final ErrorCodes WRN_BADINDENTATIONTOOSHORT
    • WRN_BADINDENTATIONTOOLONG

      public static final ErrorCodes WRN_BADINDENTATIONTOOLONG
    • WRN_SPELLING

      public static final ErrorCodes WRN_SPELLING
    • WRN_IDHEADER

      public static final ErrorCodes WRN_IDHEADER
    • INFO_0TESTINFO

      public static final ErrorCodes INFO_0TESTINFO
    • INFO_1TESTINFO

      public static final ErrorCodes INFO_1TESTINFO
  • Field Details

    • DESCRIPTION

      private final String DESCRIPTION
    • LONG_DESCRIPTION

      private final String LONG_DESCRIPTION
    • CATEGORY

      private final ErrorCategories CATEGORY
  • Constructor Details

  • Method Details

    • values

      public static ErrorCodes[] 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 ErrorCodes 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
    • getDESCRIPTION

      public String getDESCRIPTION()
    • getCATEGORY

      public ErrorCategories getCATEGORY()
    • getLONG_DESCRIPTION

      public String getLONG_DESCRIPTION()
    • showAllInCategory

      public void showAllInCategory(ErrorCategories category)