Enum Class CommonErrorReason

java.lang.Object
java.lang.Enum<CommonErrorReason>
ru.foodtechlab.abe.core.entities.exception.CommonErrorReason
All Implemented Interfaces:
Serializable, Comparable<CommonErrorReason>, java.lang.constant.Constable

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

    • PARSE_PHONE_NUMBER

      public static final CommonErrorReason PARSE_PHONE_NUMBER
    • INVALID_PHONE_NUMBER_COUNTRY_CODE

      public static final CommonErrorReason INVALID_PHONE_NUMBER_COUNTRY_CODE
    • PHONE_NUMBER_TOO_SHORT

      public static final CommonErrorReason PHONE_NUMBER_TOO_SHORT
    • ILLEGAL_CHARACTER_PHONE_NUMBER

      public static final CommonErrorReason ILLEGAL_CHARACTER_PHONE_NUMBER
    • LATITUDE_REACH_MAX

      public static final CommonErrorReason LATITUDE_REACH_MAX
    • LONGITUDE_REACH_MAX

      public static final CommonErrorReason LONGITUDE_REACH_MAX
    • LATITUDE_REACH_MIN

      public static final CommonErrorReason LATITUDE_REACH_MIN
    • LONGITUDE_REACH_MIN

      public static final CommonErrorReason LONGITUDE_REACH_MIN
    • INVALID_SOCIAL_ACCOUNT_TYPE

      public static final CommonErrorReason INVALID_SOCIAL_ACCOUNT_TYPE
    • INVALID_SOCIAL_ACCOUNT_ID

      public static final CommonErrorReason INVALID_SOCIAL_ACCOUNT_ID
  • Method Details

    • values

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