public enum SecurityOfficerErrorCode extends Enum<SecurityOfficerErrorCode>
| Enum Constant and Description |
|---|
NO_METADATA_COLLECTION |
OMRS_NOT_AVAILABLE |
OMRS_NOT_INITIALIZED |
PUBLISH_EVENT_EXCEPTION |
SERVICE_NOT_INITIALIZED |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage() |
String |
getErrorMessageId() |
String |
getFormattedErrorMessage(String... params) |
int |
getHttpErrorCode() |
String |
getSystemAction() |
String |
getUserAction() |
static SecurityOfficerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityOfficerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityOfficerErrorCode OMRS_NOT_INITIALIZED
public static final SecurityOfficerErrorCode OMRS_NOT_AVAILABLE
public static final SecurityOfficerErrorCode NO_METADATA_COLLECTION
public static final SecurityOfficerErrorCode SERVICE_NOT_INITIALIZED
public static final SecurityOfficerErrorCode PUBLISH_EVENT_EXCEPTION
public static SecurityOfficerErrorCode[] values()
for (SecurityOfficerErrorCode c : SecurityOfficerErrorCode.values()) System.out.println(c);
public static SecurityOfficerErrorCode 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 getHttpErrorCode()
public String getErrorMessageId()
public String getErrorMessage()
public String getSystemAction()
public String getUserAction()
Copyright © 2018–2020 ODPi. All rights reserved.