eu.id3.bioseal

## Enum LicenseError

- java.lang.Object
- - java.lang.Enum<LicenseError>
  - - eu.id3.bioseal.LicenseError

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LicenseError>

      public enum LicenseError
      extends java.lang.Enum<LicenseError>

  Enumerates the error codes related to license management.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `ACTIVATION_FAILED` The activation of the license has failed.
    `ALREADY_FULFILLED` The license is already fulfilled by another user (or computer).
    `BASE` Base error code of the License module.
    `BLOCKED_LICENSE` The license is blocked after a predefined period.
    `DEVICE_NOT_COMPATIBLE` This device is not compatible with id3 licensing system.
    `DIGEST_INVALID` The digest is invalid.
    `EXPIRED_LICENSE` The license has expired.
    `INSUFFICIENT_BUFFER` The given buffer is too small.
    `INSUFFICIENT_LICENSE_CREDITS` The number of available licenses has been reached.
    `INVALID_CREDENTIALS` Invalid login or password.
    `INVALID_HANDLE` The handle is invalid.
    `INVALID_HARDWARE_ID` Installation code does not match hardware ID.
    `INVALID_LICENSE` License is not valid or a required module is not licensed.
    `INVALID_PARAMETER` One of the parameters is incorrect.
    `INVALID_SERIAL` The serial is invalid.
    `LICENSE_NOT_FOUND` No license was found.
    `LICENSE_OTHER_ERROR` An unexpected error happened.
    `MINIMUM` Minimum error code of the License module.
    `MISSING_FILE` No license file was provided.
    `MODULE_ERROR` A required module is not licensed or the usage limit has been reached.
    `NOT_RENEWABLE` The license is not renewable.
    `OBJECT_DOES_NOT_EXIST` The requested object does not exist; a 'null' should be returned if possible.
    `PRE_BLOCKED_LICENSE` The license will be shortly blocked.
    `PRODUCT_UNAVAILABLE` No credit available for this product.
    `REVOKED_LICENSE` The license is revoked or does not exist anymore.
    `SERVICE_UNAVAILABLE` The license web services are unavailable.
    `SUCCESS` No error.
    `UNAUTHORIZED_ACTION` You are not allowed to do this.
    `UNREACHABLE_SERVER` The license server is currently unreachable.
    `WRITE_ERROR` The license file cannot be accessed in write mode.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static LicenseError` | `fromValue(int value)` Creates an enumeration value from int.
    `int` | `getValue()` Gets the enumeration value as int.
    `static LicenseError` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static LicenseError[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### SUCCESS

          public static final LicenseError SUCCESS

      No error.

    - #### INSUFFICIENT_BUFFER

          public static final LicenseError INSUFFICIENT_BUFFER

      The given buffer is too small.

    - #### OBJECT_DOES_NOT_EXIST

          public static final LicenseError OBJECT_DOES_NOT_EXIST

      The requested object does not exist; a 'null' should be returned if possible.

    - #### BASE

          public static final LicenseError BASE

      Base error code of the License module.

    - #### MINIMUM

          public static final LicenseError MINIMUM

      Minimum error code of the License module.

    - #### INVALID_HANDLE

          public static final LicenseError INVALID_HANDLE

      The handle is invalid.

    - #### INVALID_PARAMETER

          public static final LicenseError INVALID_PARAMETER

      One of the parameters is incorrect.

    - #### LICENSE_NOT_FOUND

          public static final LicenseError LICENSE_NOT_FOUND

      No license was found.

    - #### INVALID_LICENSE

          public static final LicenseError INVALID_LICENSE

      License is not valid or a required module is not licensed.

    - #### EXPIRED_LICENSE

          public static final LicenseError EXPIRED_LICENSE

      The license has expired.

    - #### INVALID_HARDWARE_ID

          public static final LicenseError INVALID_HARDWARE_ID

      Installation code does not match hardware ID.

    - #### ALREADY_FULFILLED

          public static final LicenseError ALREADY_FULFILLED

      The license is already fulfilled by another user (or computer).

    - #### MODULE_ERROR

          public static final LicenseError MODULE_ERROR

      A required module is not licensed or the usage limit has been reached.

    - #### WRITE_ERROR

          public static final LicenseError WRITE_ERROR

      The license file cannot be accessed in write mode.

    - #### INSUFFICIENT_LICENSE_CREDITS

          public static final LicenseError INSUFFICIENT_LICENSE_CREDITS

      The number of available licenses has been reached. There isn't any available license remaining.

    - #### INVALID_SERIAL

          public static final LicenseError INVALID_SERIAL

      The serial is invalid.

    - #### INVALID_CREDENTIALS

          public static final LicenseError INVALID_CREDENTIALS

      Invalid login or password.

    - #### REVOKED_LICENSE

          public static final LicenseError REVOKED_LICENSE

      The license is revoked or does not exist anymore.

    - #### BLOCKED_LICENSE

          public static final LicenseError BLOCKED_LICENSE

      The license is blocked after a predefined period.

    - #### UNREACHABLE_SERVER

          public static final LicenseError UNREACHABLE_SERVER

      The license server is currently unreachable.

    - #### LICENSE_OTHER_ERROR

          public static final LicenseError LICENSE_OTHER_ERROR

      An unexpected error happened.

    - #### MISSING_FILE

          public static final LicenseError MISSING_FILE

      No license file was provided.

    - #### DEVICE_NOT_COMPATIBLE

          public static final LicenseError DEVICE_NOT_COMPATIBLE

      This device is not compatible with id3 licensing system.

    - #### ACTIVATION_FAILED

          public static final LicenseError ACTIVATION_FAILED

      The activation of the license has failed.

    - #### SERVICE_UNAVAILABLE

          public static final LicenseError SERVICE_UNAVAILABLE

      The license web services are unavailable.

    - #### NOT_RENEWABLE

          public static final LicenseError NOT_RENEWABLE

      The license is not renewable.

    - #### DIGEST_INVALID

          public static final LicenseError DIGEST_INVALID

      The digest is invalid. The received file may be corrupted.

    - #### PRODUCT_UNAVAILABLE

          public static final LicenseError PRODUCT_UNAVAILABLE

      No credit available for this product.

    - #### UNAUTHORIZED_ACTION

          public static final LicenseError UNAUTHORIZED_ACTION

      You are not allowed to do this.

    - #### PRE_BLOCKED_LICENSE

          public static final LicenseError PRE_BLOCKED_LICENSE

      The license will be shortly blocked.

  - ### Method Detail

    - #### values

          public static LicenseError[] 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 (LicenseError c : LicenseError.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static LicenseError valueOf(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public int getValue()

      Gets the enumeration value as int.
      Returns:
        The value.

    - #### fromValue

          public static LicenseError fromValue(int value)

      Creates an enumeration value from int.
      Parameters:
        `value` - The int value.
      Returns:
        The created LicenseError.

Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal