Package com.compdfkit.core.library
Enum Class LicenseErrorCodeEnum
- All Implemented Interfaces:
Serializable,Comparable<LicenseErrorCodeEnum>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription/// Success #define PSO_E_LICENSE_SUCCESS (0) /// The license is invalid #define PSO_E_LICENSE_INVALID (-100) /// The license has expired #define PSO_E_LICENSE_EXPIRE (-101) /// The license does not support the current platform #define PSO_E_LICENSE_UNSUPPORTED_PLATFORM (-102) /// The license does not support the application id #define PSO_E_LICENSE_UNSUPPORTED_ID (-103) /// The license does not support the application id #define PSO_E_LICENSE_UNSUPPORTED_DEVICE (-104) /// The license does not have the function permission #define PSO_E_LICENSE_PERMISSION_DENY (-105) /// License has not been initialized #define PSO_E_LICENSE_UNINITIALIZED (-106) /// Illegal access to the API interface #define PSO_E_LICENSE_ILLEGAL_ACCESS (-1000) /// Failed to read license file #define PSO_E_LICENSE_FILE_READ_FAILED (-1001) -
Method Summary
Modifier and TypeMethodDescriptionstatic voiderrorCodeCheck(int licenseErrorCode) intstatic LicenseErrorCodeEnumtoEnum(int licenseErrorCode) static LicenseErrorCodeEnumReturns the enum constant of this class with the specified name.static LicenseErrorCodeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PSO_E_LICENSE_SUCCESS
/// Success #define PSO_E_LICENSE_SUCCESS (0) /// The license is invalid #define PSO_E_LICENSE_INVALID (-100) /// The license has expired #define PSO_E_LICENSE_EXPIRE (-101) /// The license does not support the current platform #define PSO_E_LICENSE_UNSUPPORTED_PLATFORM (-102) /// The license does not support the application id #define PSO_E_LICENSE_UNSUPPORTED_ID (-103) /// The license does not support the application id #define PSO_E_LICENSE_UNSUPPORTED_DEVICE (-104) /// The license does not have the function permission #define PSO_E_LICENSE_PERMISSION_DENY (-105) /// License has not been initialized #define PSO_E_LICENSE_UNINITIALIZED (-106) /// Illegal access to the API interface #define PSO_E_LICENSE_ILLEGAL_ACCESS (-1000) /// Failed to read license file #define PSO_E_LICENSE_FILE_READ_FAILED (-1001) -
PSO_E_LICENSE_INVALID
-
PSO_E_LICENSE_EXPIRE
-
PSO_E_LICENSE_UNSUPPORTED_PLATFORM
-
PSO_E_LICENSE_UNSUPPORTED_ID
-
PSO_E_LICENSE_UNSUPPORTED_DEVICE
-
PSO_E_LICENSE_PERMISSION_DENY
-
PSO_E_LICENSE_UNINITIALIZED
-
PSO_E_LICENSE_ILLEGAL_ACCESS
-
PSO_E_LICENSE_FILE_READ_FAILED
-
-
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
-
getLicenseErrorCode
public int getLicenseErrorCode() -
getLicenseErrorMessage
-
toEnum
-
errorCodeCheck
public static void errorCodeCheck(int licenseErrorCode)
-