Enum Class Reasons

java.lang.Object
java.lang.Enum<Reasons>
com.xcoder.easyinsta.exceptions.Reasons
All Implemented Interfaces:
Serializable, Comparable<Reasons>, Constable

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

    • REQUIRE_2_FACTOR_AUTHENTICATION

      public static final Reasons REQUIRE_2_FACTOR_AUTHENTICATION
    • LOGIN_ERROR_UNKNOWN

      public static final Reasons LOGIN_ERROR_UNKNOWN
    • BIO_LENGTH_EXCEEDED

      public static final Reasons BIO_LENGTH_EXCEEDED
    • UNSUPPORTED_FILE_FORMAT

      public static final Reasons UNSUPPORTED_FILE_FORMAT
    • INVALID_CREDENTIALS

      public static final Reasons INVALID_CREDENTIALS
    • CHALLENGE_REQUIRED

      public static final Reasons CHALLENGE_REQUIRED
    • CACHING_ERROR

      public static final Reasons CACHING_ERROR
    • PROXY_ERROR

      public static final Reasons PROXY_ERROR
    • NO_SUCH_ADMIN

      public static final Reasons NO_SUCH_ADMIN
    • INVALID_USERNAME

      public static final Reasons INVALID_USERNAME
    • LOGIN_TOO_FREQUENTLY

      public static final Reasons LOGIN_TOO_FREQUENTLY
    • API_RESPONSE_ERROR

      public static final Reasons API_RESPONSE_ERROR
    • NO_SUCH_MESSAGE

      public static final Reasons NO_SUCH_MESSAGE
  • Method Details

    • values

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