Enum Class ErrorKey

java.lang.Object
java.lang.Enum<ErrorKey>
net.anotheria.portalkit.adminapi.rest.ErrorKey
All Implemented Interfaces:
Serializable, Comparable<ErrorKey>, Constable

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

    • ACCOUNT_ID_IS_EMPTY

      public static final ErrorKey ACCOUNT_ID_IS_EMPTY
    • EMAIL_ALREADY_EXISTS

      public static final ErrorKey EMAIL_ALREADY_EXISTS
    • NAME_OR_PASSWORD_MISMATCH

      public static final ErrorKey NAME_OR_PASSWORD_MISMATCH
    • INVALID_TOKEN

      public static final ErrorKey INVALID_TOKEN
  • Method Details

    • values

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