Enum Class UserExceptionCode
java.lang.Object
java.lang.Enum<UserExceptionCode>
es.kukenan.smartfi.microservice.backoffice.enums.UserExceptionCode
- All Implemented Interfaces:
Serializable,Comparable<UserExceptionCode>,Constable
Custom codes for login and access management exceptions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPassword format incorrect; length message.Password format incorrect; consecutive numbers message.Password format incorrect; equal chars message.User NOT BLOCKED; equal chars message.Code for user or password not found.Code for pre temporary blocked user.Code for locked temporary user.Code for pre locked user.Code for locked user.Code for biometric token revoked.Code for remember token revoked.Code for Biometric login fail.Code for failed authentication for user locked. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserExceptionCodeReturns the enum constant of this class with the specified name.static UserExceptionCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C400000201
Password format incorrect; length message. -
C400000202
Password format incorrect; consecutive numbers message. -
C400000203
Password format incorrect; equal chars message. -
C400000204
User NOT BLOCKED; equal chars message. -
C401000201
Code for user or password not found. -
C401000202
Code for pre temporary blocked user. -
C401000203
Code for locked temporary user. -
C401000204
Code for pre locked user. -
C401000205
Code for locked user. -
C401000206
Code for biometric token revoked. -
C401000207
Code for remember token revoked. -
C403000201
Code for Biometric login fail. -
C403000205
Code for failed authentication for user locked.
-
-
Constructor Details
-
UserExceptionCode
private UserExceptionCode()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-