Enum Class ForkliftErrorCode

java.lang.Object
java.lang.Enum<ForkliftErrorCode>
com.v1rex.liftnexus.forklift.exception.ForkliftErrorCode
All Implemented Interfaces:
ErrorCode, Serializable, Comparable<ForkliftErrorCode>, Constable

public enum ForkliftErrorCode extends Enum<ForkliftErrorCode> implements ErrorCode
  • Enum Constant Details

    • FORKLIFT_NOT_FOUND

      public static final ForkliftErrorCode FORKLIFT_NOT_FOUND
    • FORKLIFT_TYPE_NOT_FOUND

      public static final ForkliftErrorCode FORKLIFT_TYPE_NOT_FOUND
    • FORKLIFT_FLEET_NUMBER_EXISTS

      public static final ForkliftErrorCode FORKLIFT_FLEET_NUMBER_EXISTS
    • FORKLIFT_TYPE_NAME_EXISTS

      public static final ForkliftErrorCode FORKLIFT_TYPE_NAME_EXISTS
  • Method Details

    • values

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