public enum OCFErrorCode extends Enum<OCFErrorCode>
| 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 |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
static OCFErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OCFErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCFErrorCode NULL_CONNECTION
public static final OCFErrorCode UNNAMED_CONNECTION
public static final OCFErrorCode NULL_CONNECTOR_TYPE
public static final OCFErrorCode NULL_CONNECTOR_PROVIDER
public static final OCFErrorCode UNKNOWN_CONNECTOR_PROVIDER
public static final OCFErrorCode NOT_CONNECTOR_PROVIDER
public static final OCFErrorCode INVALID_CONNECTOR_PROVIDER
public static final OCFErrorCode NULL_ENDPOINT_IN_CONNECTION
public static final OCFErrorCode MALFORMED_ENDPOINT
public static final OCFErrorCode NULL_PROPERTY_NAME
public static final OCFErrorCode INVALID_PROPERTY_NAMES
public static final OCFErrorCode NULL_SECURED_PROPERTY_NAME
public static final OCFErrorCode NO_MORE_ELEMENTS
public static final OCFErrorCode NO_ITERATOR
public static final OCFErrorCode NULL_CLASSIFICATION_NAME
public static final OCFErrorCode NULL_TAG_NAME
public static final OCFErrorCode UNABLE_TO_REMOVE
public static final OCFErrorCode INVALID_VIRTUAL_CONNECTION
public static final OCFErrorCode UNKNOWN_ENDPOINT
public static final OCFErrorCode PROPERTIES_NOT_AVAILABLE
public static final OCFErrorCode CAUGHT_EXCEPTION
public static final OCFErrorCode CAUGHT_EXCEPTION_WITHMSG
public static final OCFErrorCode NOT_IMPLEMENTED
public static final OCFErrorCode UNKNOWN_ERROR
public static final OCFErrorCode INTERNAL_ERROR
public static final OCFErrorCode NULL_CONNECTOR_CLASS
public static final OCFErrorCode UNKNOWN_CONNECTOR
public static final OCFErrorCode NOT_CONNECTOR
public static final OCFErrorCode INCOMPLETE_CONNECTOR
public static final OCFErrorCode INVALID_CONNECTOR
public static final OCFErrorCode NULL_CONNECTOR
public static final OCFErrorCode NOT_VIRTUAL_CONNECTOR
public static OCFErrorCode[] values()
for (OCFErrorCode c : OCFErrorCode.values()) System.out.println(c);
public static OCFErrorCode 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 getFormattedErrorMessage(String... params)
params - strings that plug into the placeholders in the errorMessagepublic String getSystemAction()
public String getUserAction()
Copyright © 2018–2020 ODPi. All rights reserved.