Enum Class ErrorCodes

java.lang.Object
java.lang.Enum<ErrorCodes>
org.chenile.filewatch.errorcodes.ErrorCodes
All Implemented Interfaces:
Serializable, Comparable<ErrorCodes>, Constable

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

    • CANNOT_MOVE_TO_PROCESSED

      public static final ErrorCodes CANNOT_MOVE_TO_PROCESSED
    • MISSING_HEADER_PROPERTIES

      public static final ErrorCodes MISSING_HEADER_PROPERTIES
    • INVALID_ENCODING_TYPE

      public static final ErrorCodes INVALID_ENCODING_TYPE
    • CANNOT_PROCESS_FILE

      public static final ErrorCodes CANNOT_PROCESS_FILE
    • CANNOT_SERIALIZE_RESPONSE_TO_JSON

      public static final ErrorCodes CANNOT_SERIALIZE_RESPONSE_TO_JSON
    • ERROR_IN_SERVICE

      public static final ErrorCodes ERROR_IN_SERVICE
    • MISCONFIGURATION

      public static final ErrorCodes MISCONFIGURATION
  • Field Details

    • subError

      final int subError
  • Constructor Details

    • ErrorCodes

      private ErrorCodes(int subError)
  • 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
    • getSubError

      public int getSubError()