Enum Class UserExceptionCode

java.lang.Object
java.lang.Enum<UserExceptionCode>
es.kukenan.smartfi.microservice.clients.exception.enums.UserExceptionCode
All Implemented Interfaces:
Serializable, Comparable<UserExceptionCode>, Constable

public enum UserExceptionCode extends Enum<UserExceptionCode>
Custom codes for login and access management exceptions.
  • Enum Constant Details

    • C400000201

      public static final UserExceptionCode C400000201
      Password format incorrect; length message.
    • C400000202

      public static final UserExceptionCode C400000202
      Password format incorrect; consecutive numbers message.
    • C400000203

      public static final UserExceptionCode C400000203
      Password format incorrect; equal chars message.
    • C400000204

      public static final UserExceptionCode C400000204
      User NOT BLOCKED; equal chars message.
    • C401000201

      public static final UserExceptionCode C401000201
      Code for user or password not found.
    • C401000202

      public static final UserExceptionCode C401000202
      Code for pre temporary blocked user.
    • C401000203

      public static final UserExceptionCode C401000203
      Code for locked temporary user.
    • C401000204

      public static final UserExceptionCode C401000204
      Code for pre locked user.
    • C401000205

      public static final UserExceptionCode C401000205
      Code for locked user.
    • C401000206

      public static final UserExceptionCode C401000206
      Code for biometric token revoked.
    • C401000207

      public static final UserExceptionCode C401000207
      Code for remember token revoked.
    • C403000201

      public static final UserExceptionCode C403000201
      Code for Biometric login fail.
    • C403000205

      public static final UserExceptionCode C403000205
      Code for failed authentication for user locked.
  • Constructor Details

    • UserExceptionCode

      private UserExceptionCode()
  • Method Details

    • values

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