Enum Class LicenseErrorCodeEnum

java.lang.Object
java.lang.Enum<LicenseErrorCodeEnum>
com.compdfkit.core.library.LicenseErrorCodeEnum
All Implemented Interfaces:
Serializable, Comparable<LicenseErrorCodeEnum>, Constable

public enum LicenseErrorCodeEnum extends Enum<LicenseErrorCodeEnum>
  • Enum Constant Details

    • PSO_E_LICENSE_SUCCESS

      public static final LicenseErrorCodeEnum 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

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_INVALID
    • PSO_E_LICENSE_EXPIRE

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_EXPIRE
    • PSO_E_LICENSE_UNSUPPORTED_PLATFORM

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_PLATFORM
    • PSO_E_LICENSE_UNSUPPORTED_ID

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_ID
    • PSO_E_LICENSE_UNSUPPORTED_DEVICE

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNSUPPORTED_DEVICE
    • PSO_E_LICENSE_PERMISSION_DENY

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_PERMISSION_DENY
    • PSO_E_LICENSE_UNINITIALIZED

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_UNINITIALIZED
    • PSO_E_LICENSE_ILLEGAL_ACCESS

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_ILLEGAL_ACCESS
    • PSO_E_LICENSE_FILE_READ_FAILED

      public static final LicenseErrorCodeEnum PSO_E_LICENSE_FILE_READ_FAILED
  • Method Details

    • values

      public static LicenseErrorCodeEnum[] 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

      public static LicenseErrorCodeEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getLicenseErrorCode

      public int getLicenseErrorCode()
    • getLicenseErrorMessage

      public String getLicenseErrorMessage()
    • toEnum

      public static LicenseErrorCodeEnum toEnum(int licenseErrorCode)
    • errorCodeCheck

      public static void errorCodeCheck(int licenseErrorCode)