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