public enum LicenseKeyManagerErrorCodes extends Enum<LicenseKeyManagerErrorCodes>
| Enum Constant and Description |
|---|
HTTP_MESSAGE_NOT_READABLE |
RUNTIME_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for error code.
|
static LicenseKeyManagerErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseKeyManagerErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseKeyManagerErrorCodes HTTP_MESSAGE_NOT_READABLE
public static final LicenseKeyManagerErrorCodes RUNTIME_EXCEPTION
public static LicenseKeyManagerErrorCodes[] values()
for (LicenseKeyManagerErrorCodes c : LicenseKeyManagerErrorCodes.values()) System.out.println(c);
public static LicenseKeyManagerErrorCodes 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()
Copyright © 2020. All rights reserved.