public enum ErrorCode extends Enum<ErrorCode>
Modifier and Type | Method and Description |
---|---|
static String |
codeTable() |
static ErrorCode |
errorCodeFor(int errCode)
Returns the ErrorCode for the given integer
|
int |
getCode() |
String |
getMessage() |
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 MESSAGE_ACCEPTED
public static final ErrorCode SEGMENT_SEQUENCE_ERROR
public static final ErrorCode REQUIRED_FIELD_MISSING
public static final ErrorCode DATA_TYPE_ERROR
public static final ErrorCode TABLE_VALUE_NOT_FOUND
public static final ErrorCode UNSUPPORTED_MESSAGE_TYPE
public static final ErrorCode UNSUPPORTED_EVENT_CODE
public static final ErrorCode UNSUPPORTED_PROCESSING_ID
public static final ErrorCode UNSUPPORTED_VERSION_ID
public static final ErrorCode UNKNOWN_KEY_IDENTIFIER
public static final ErrorCode DUPLICATE_KEY_IDENTIFIER
public static final ErrorCode APPLICATION_RECORD_LOCKED
public static final ErrorCode APPLICATION_INTERNAL_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 int getCode()
public String getMessage()
public static ErrorCode errorCodeFor(int errCode)
errCode
- integer error codeCopyright © 2001–2017 University Health Network. All rights reserved.