Enum HashUtilConstants
- java.lang.Object
-
- java.lang.Enum<HashUtilConstants>
-
- io.mosip.kernel.core.util.constant.HashUtilConstants
-
- All Implemented Interfaces:
Serializable,Comparable<HashUtilConstants>
public enum HashUtilConstants extends Enum<HashUtilConstants>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOSIP_ILLEGAL_ARGUMENT_INITIALODDNUMBER_ERROR_CODEMOSIP_ILLEGAL_ARGUMENT_MULTIPLIERODDNUMBER_ERROR_CODE
-
Field Summary
Fields Modifier and Type Field Description StringerrorCodeStringerrorMessage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()StringgetErrorMessage()static HashUtilConstantsvalueOf(String name)Returns the enum constant of this type with the specified name.static HashUtilConstants[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOSIP_ILLEGAL_ARGUMENT_INITIALODDNUMBER_ERROR_CODE
public static final HashUtilConstants MOSIP_ILLEGAL_ARGUMENT_INITIALODDNUMBER_ERROR_CODE
-
MOSIP_ILLEGAL_ARGUMENT_MULTIPLIERODDNUMBER_ERROR_CODE
public static final HashUtilConstants MOSIP_ILLEGAL_ARGUMENT_MULTIPLIERODDNUMBER_ERROR_CODE
-
-
Method Detail
-
values
public static HashUtilConstants[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HashUtilConstants c : HashUtilConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HashUtilConstants valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getErrorCode
public String getErrorCode()
-
getErrorMessage
public String getErrorMessage()
-
-