public enum LicenseKeyManagerExceptionConstants extends Enum<LicenseKeyManagerExceptionConstants>
| Enum Constant and Description |
|---|
DATE_EXPIRED |
ILLEGAL_LICENSE_KEY |
ILLEGAL_PERMISSION |
ILLEGAL_TSP |
INVALID_GENERATED_LICENSEKEY |
LICENSEKEY_EXPIRED |
LICENSEKEY_NOT_FOUND |
NO_PERMISSIONS_MAPPED |
NOT_ACCEPTABLE_PERMISSION |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for error code.
|
String |
getErrorMessage()
Getter for error message.
|
static LicenseKeyManagerExceptionConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseKeyManagerExceptionConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseKeyManagerExceptionConstants ILLEGAL_TSP
public static final LicenseKeyManagerExceptionConstants INVALID_GENERATED_LICENSEKEY
public static final LicenseKeyManagerExceptionConstants NOT_ACCEPTABLE_PERMISSION
public static final LicenseKeyManagerExceptionConstants LICENSEKEY_NOT_FOUND
public static final LicenseKeyManagerExceptionConstants LICENSEKEY_EXPIRED
public static final LicenseKeyManagerExceptionConstants ILLEGAL_LICENSE_KEY
public static final LicenseKeyManagerExceptionConstants ILLEGAL_PERMISSION
public static final LicenseKeyManagerExceptionConstants DATE_EXPIRED
public static final LicenseKeyManagerExceptionConstants NO_PERMISSIONS_MAPPED
public static LicenseKeyManagerExceptionConstants[] values()
for (LicenseKeyManagerExceptionConstants c : LicenseKeyManagerExceptionConstants.values()) System.out.println(c);
public static LicenseKeyManagerExceptionConstants valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.