public enum IGCOMRSErrorCode extends Enum<IGCOMRSErrorCode>
| Enum Constant and Description |
|---|
CLASSIFICATION_EXCEEDS_REPOSITORY |
CLASSIFICATION_INSUFFICIENT_PROPERTIES |
CLASSIFICATION_NOT_APPLICABLE |
CLASSIFICATION_NOT_EDITABLE |
CLASSIFICATION_NOT_FOUND |
OMRS_BUNDLE_FAILURE |
REST_CLIENT_FAILURE |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessageId()
Returns the unique identifier for the error message.
|
String |
getFormattedErrorMessage(String... params)
Returns the error message with the placeholders filled out with the supplied parameters.
|
int |
getHTTPErrorCode() |
String |
getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was
detected.
|
String |
getUnformattedErrorMessage()
Returns the error message with placeholders for specific details.
|
String |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
static IGCOMRSErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IGCOMRSErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IGCOMRSErrorCode REST_CLIENT_FAILURE
public static final IGCOMRSErrorCode OMRS_BUNDLE_FAILURE
public static final IGCOMRSErrorCode CLASSIFICATION_INSUFFICIENT_PROPERTIES
public static final IGCOMRSErrorCode CLASSIFICATION_EXCEEDS_REPOSITORY
public static final IGCOMRSErrorCode CLASSIFICATION_NOT_FOUND
public static final IGCOMRSErrorCode CLASSIFICATION_NOT_EDITABLE
public static final IGCOMRSErrorCode CLASSIFICATION_NOT_APPLICABLE
public static IGCOMRSErrorCode[] values()
for (IGCOMRSErrorCode c : IGCOMRSErrorCode.values()) System.out.println(c);
public static IGCOMRSErrorCode 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 getUnformattedErrorMessage()
public String getFormattedErrorMessage(String... params)
params - - strings that plug into the placeholders in the errorMessagepublic String getSystemAction()
public String getUserAction()
Copyright © 2018–2019 ODPi. All rights reserved.