public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description |
|---|
ADD_ZIP_ENTRY_ERROR |
AUDITS_REQUIRED |
BIR_TO_XML_ERROR |
INITIALIZATION_ERROR |
INVALID_DATA_ERROR |
JSON_PARSE_ERROR |
OBJECT_TO_JSON_ERROR |
PACKET_ENCRYPT_ERROR |
PKT_ZIP_ERROR |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getErrorMessage() |
void |
setErrorCode(String errorCode) |
void |
setErrorMessage(String errorMessage) |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode PACKET_ENCRYPT_ERROR
public static final ErrorCode JSON_PARSE_ERROR
public static final ErrorCode ADD_ZIP_ENTRY_ERROR
public static final ErrorCode BIR_TO_XML_ERROR
public static final ErrorCode OBJECT_TO_JSON_ERROR
public static final ErrorCode PKT_ZIP_ERROR
public static final ErrorCode INVALID_DATA_ERROR
public static final ErrorCode AUDITS_REQUIRED
public static final ErrorCode INITIALIZATION_ERROR
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 void setErrorCode(String errorCode)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
Copyright © 2020. All rights reserved.