Enum SecurityExceptionCodeConstant
- java.lang.Object
-
- java.lang.Enum<SecurityExceptionCodeConstant>
-
- io.mosip.kernel.crypto.jce.constant.SecurityExceptionCodeConstant
-
- All Implemented Interfaces:
Serializable,Comparable<SecurityExceptionCodeConstant>
public enum SecurityExceptionCodeConstant extends Enum<SecurityExceptionCodeConstant>
Enumfor exception constants- Since:
- 1.0.0
- Author:
- Urvil Joshi
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Getter for errorCodeStringgetErrorMessage()Getter for errorMessagestatic SecurityExceptionCodeConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static SecurityExceptionCodeConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOSIP_INVALID_KEY_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_KEY_EXCEPTION
-
MOSIP_INVALID_DATA_LENGTH_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_DATA_LENGTH_EXCEPTION
-
MOSIP_INVALID_DATA_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_DATA_EXCEPTION
-
MOSIP_INVALID_ENCRYPTED_DATA_CORRUPT_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_ENCRYPTED_DATA_CORRUPT_EXCEPTION
-
MOSIP_INVALID_DATA_SIZE_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_DATA_SIZE_EXCEPTION
-
MOSIP_NULL_DATA_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_NULL_DATA_EXCEPTION
-
MOSIP_NULL_METHOD_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_NULL_METHOD_EXCEPTION
-
MOSIP_NO_SUCH_ALGORITHM_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_NO_SUCH_ALGORITHM_EXCEPTION
-
MOSIP_INVALID_PARAM_SPEC_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_INVALID_PARAM_SPEC_EXCEPTION
-
MOSIP_SIGNATURE_EXCEPTION
public static final SecurityExceptionCodeConstant MOSIP_SIGNATURE_EXCEPTION
-
SALT_PROVIDED_IS_NULL_OR_EMPTY
public static final SecurityExceptionCodeConstant SALT_PROVIDED_IS_NULL_OR_EMPTY
-
-
Method Detail
-
values
public static SecurityExceptionCodeConstant[] 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 (SecurityExceptionCodeConstant c : SecurityExceptionCodeConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityExceptionCodeConstant 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
-
getErrorMessage
public String getErrorMessage()
Getter for errorMessage- Returns:
- get errorMessage value
-
getErrorCode
public String getErrorCode()
Getter for errorCode- Returns:
- get errorCode value
-
-