Enum Class GeneralExceptionCode
java.lang.Object
java.lang.Enum<GeneralExceptionCode>
es.kukenan.smartfi.microservice.onboarding.exception.enums.GeneralExceptionCode
- All Implemented Interfaces:
Serializable,Comparable<GeneralExceptionCode>,Constable
general exceptions code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation success code.User already exist code.Worker type not enabled.General fail code. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralExceptionCodeReturns the enum constant of this class with the specified name.static GeneralExceptionCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C200200000
Operation success code. -
C400200000
User already exist code. -
C400200001
Worker type not enabled. -
C500200000
General fail code.
-
-
Constructor Details
-
GeneralExceptionCode
private GeneralExceptionCode()
-
-
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
-