public class LicenseException extends java.lang.Exception implements ReturnCodeException
Modifier and Type | Field and Description |
---|---|
static int |
DATA_CONVERSION_CLIENT_NAME
DATA_CONVERSION_CLIENT_NAME - Return code from the Central server when
the client name can not be converted to the job CCSID.
|
static int |
DATA_CONVERSION_FEATURE
DATA_CONVERSION_FEATURE - Return code from the Central server when the
product feature can not be converted to the job CCSID.
|
static int |
DATA_CONVERSION_LICENSE_USER_HANDLE
DATA_CONVERSION_LICENSE_USER_HANDLE - Return code from the Central server when
the license handle is not valid.
|
static int |
DATA_CONVERSION_PRODUCT_ID
DATA_CONVERSION_PRODUCT_ID - Return code from the Central server when the
product ID can not be converted to the job CCSID.
|
static int |
DATA_CONVERSION_RELEASE
DATA_CONVERSION_RELEASE - Return code from the Central server when the
product release can not be converted to the job CCSID.
|
static int |
ERROR_CALLING_EXIT_PROGRAM
ERROR_CALLING_EXIT_PROGRAM - Return code from the Central server when there was
an error calling the regestered exit program.
|
static int |
ERROR_CALLING_USER_EXIT_PROGRAM
ERROR_CALLING_USER_EXIT_PROGRAM - Return code from the Central server when in incurred an error from a user exit program.
|
static int |
EXPIRATION_DATE_REACHED
EXPIRATION_DATE_REACHED - Return code from the Central server when the expiration
date for the product license being requested is reached and a license was not granted.
|
static int |
GRACE_PERIOD_EXPIRED
GRACE_PERIOD_EXPIRED - Return code from the Central server when the grace period
for the product license being requested is exceeded and a license was not granted.
|
static int |
INVALID_REQUEST_CLIENT_NAME
INVALID_REQUEST_CLIENT_NAME - Return code from the Central server when
the client name is not valid.
|
static int |
LICENSE_INFORMATION_NOT_AVAILABLE
LICENSE_INFORMATION_NOT_AVAILABLE - Return code from the Central server when
an error occurred.
|
static int |
LICENSE_INFORMATION_NOT_FOUND
LICENSE_INFORMATION_NOT_FOUND - Return code from the Central server when
the license information for the product is not available (for example,
product for specified feature and release was not found.)
|
static int |
MISMATCH_RELEASE_REQUEST_HANDLE
MISMATCH_RELEASE_REQUEST_HANDLE - Return code from the Central server when
the handle used to attempt to release a license is not the handle that the
under which the request license was issued.
|
static int |
REJECTED_BY_EXIT_PROGRAM
REJECTED_BY_EXIT_PROGRAM - Return code from the Central server when the
regestered exit program rejects the request.
|
static int |
RELEASE_LICENSE_ERROR
RELEASE_LICENSE_ERROR - Return code from the Central server when
an unexpected error is encountered when releasing a license.
|
static int |
REQUEST_LICENSE_ERROR
REQUEST_LICENSE_ERROR - Return code from the Central server when
an unexpected error is encountered when requesting a license.
|
static int |
REQUEST_NOT_VALID
REQUEST_NOT_VALID - Return code from the Central server when the datastream does
not match the expected datastream.
|
static int |
REQUEST_NOT_VALID_FEATURE
REQUEST_NOT_VALID_FEATURE - Return code from the Central server when
the product feature ID is not valid.
|
static int |
REQUEST_NOT_VALID_LICENSE_USER_HANDLE
REQUEST_NOT_VALID_LICENSE_USER_HANDLE - Return code from the Central
server when the license user handle is not valid.
|
static int |
REQUEST_NOT_VALID_PRODUCT_ID
REQUEST_NOT_VALID_PRODUCT_ID - Return code from the Central server when
the product ID is not valid.
|
static int |
REQUEST_NOT_VALID_RELEASE
REQUEST_NOT_VALID_RELEASE - Return code from the Central server when
the product release is not valid.
|
static int |
REQUEST_NOT_VALID_TYPE_OF_LICENSE_INFO
REQUEST_NOT_VALID_TYPE_OF_LICENSE_INFO - Return code from the Central server when
the type of license information requested is not valid.
|
static int |
RETRIEVE_LICENSE_INFORMATION_ERROR
RETRIEVE_LICENSE_INFORMATION_ERROR - Return code from the Central server when
an unexpected error is encountered when requesting information on a license.
|
static int |
USAGE_LIMIT_EXCEEDED
USAGE_LIMIT_EXCEEDED - Return code from the Central server when the usage limit
for the product license being requested is exceeded and a license was not granted.
|
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Returns the return code.
|
public static final int INVALID_REQUEST_CLIENT_NAME
INVALID_REQUEST_CLIENT_NAME - Return code from the Central server when the client name is not valid.
public static final int REQUEST_NOT_VALID_LICENSE_USER_HANDLE
REQUEST_NOT_VALID_LICENSE_USER_HANDLE - Return code from the Central server when the license user handle is not valid.
public static final int REQUEST_NOT_VALID_PRODUCT_ID
REQUEST_NOT_VALID_PRODUCT_ID - Return code from the Central server when the product ID is not valid.
public static final int REQUEST_NOT_VALID_RELEASE
REQUEST_NOT_VALID_RELEASE - Return code from the Central server when the product release is not valid.
public static final int REQUEST_NOT_VALID_FEATURE
REQUEST_NOT_VALID_FEATURE - Return code from the Central server when the product feature ID is not valid.
public static final int REQUEST_NOT_VALID_TYPE_OF_LICENSE_INFO
REQUEST_NOT_VALID_TYPE_OF_LICENSE_INFO - Return code from the Central server when the type of license information requested is not valid.
public static final int DATA_CONVERSION_CLIENT_NAME
DATA_CONVERSION_CLIENT_NAME - Return code from the Central server when the client name can not be converted to the job CCSID.
public static final int DATA_CONVERSION_LICENSE_USER_HANDLE
DATA_CONVERSION_LICENSE_USER_HANDLE - Return code from the Central server when the license handle is not valid.
public static final int DATA_CONVERSION_PRODUCT_ID
DATA_CONVERSION_PRODUCT_ID - Return code from the Central server when the product ID can not be converted to the job CCSID.
public static final int DATA_CONVERSION_RELEASE
DATA_CONVERSION_RELEASE - Return code from the Central server when the product release can not be converted to the job CCSID.
public static final int DATA_CONVERSION_FEATURE
DATA_CONVERSION_FEATURE - Return code from the Central server when the product feature can not be converted to the job CCSID.
public static final int REQUEST_NOT_VALID
REQUEST_NOT_VALID - Return code from the Central server when the datastream does not match the expected datastream.
public static final int ERROR_CALLING_EXIT_PROGRAM
ERROR_CALLING_EXIT_PROGRAM - Return code from the Central server when there was an error calling the regestered exit program. For example, does not exist.
public static final int REJECTED_BY_EXIT_PROGRAM
REJECTED_BY_EXIT_PROGRAM - Return code from the Central server when the regestered exit program rejects the request.
public static final int REQUEST_LICENSE_ERROR
REQUEST_LICENSE_ERROR - Return code from the Central server when an unexpected error is encountered when requesting a license.
public static final int RELEASE_LICENSE_ERROR
RELEASE_LICENSE_ERROR - Return code from the Central server when an unexpected error is encountered when releasing a license.
public static final int RETRIEVE_LICENSE_INFORMATION_ERROR
RETRIEVE_LICENSE_INFORMATION_ERROR - Return code from the Central server when an unexpected error is encountered when requesting information on a license.
public static final int LICENSE_INFORMATION_NOT_FOUND
LICENSE_INFORMATION_NOT_FOUND - Return code from the Central server when the license information for the product is not available (for example, product for specified feature and release was not found.)
public static final int LICENSE_INFORMATION_NOT_AVAILABLE
LICENSE_INFORMATION_NOT_AVAILABLE - Return code from the Central server when an error occurred.
public static final int MISMATCH_RELEASE_REQUEST_HANDLE
MISMATCH_RELEASE_REQUEST_HANDLE - Return code from the Central server when the handle used to attempt to release a license is not the handle that the under which the request license was issued.
public static final int USAGE_LIMIT_EXCEEDED
USAGE_LIMIT_EXCEEDED - Return code from the Central server when the usage limit for the product license being requested is exceeded and a license was not granted.
public static final int GRACE_PERIOD_EXPIRED
GRACE_PERIOD_EXPIRED - Return code from the Central server when the grace period for the product license being requested is exceeded and a license was not granted.
public static final int EXPIRATION_DATE_REACHED
EXPIRATION_DATE_REACHED - Return code from the Central server when the expiration date for the product license being requested is reached and a license was not granted.
public static final int ERROR_CALLING_USER_EXIT_PROGRAM
ERROR_CALLING_USER_EXIT_PROGRAM - Return code from the Central server when in incurred an error from a user exit program.
public int getReturnCode()
getReturnCode
in interface ReturnCodeException