public enum OCFErrorCode extends Enum<OCFErrorCode> implements ExceptionMessageSet
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessageId()
Deprecated.
|
String |
getFormattedErrorMessage(String... params)
Deprecated.
|
int |
getHTTPErrorCode()
Deprecated.
|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an exception.
|
String |
getSystemAction()
Deprecated.
|
String |
getUserAction()
Deprecated.
|
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 UNKNOWN_SCHEMA_TYPE
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 null@Deprecated public int getHTTPErrorCode()
@Deprecated public String getErrorMessageId()
@Deprecated public String getFormattedErrorMessage(String... params)
params - strings that plug into the placeholders in the errorMessage@Deprecated public String getSystemAction()
@Deprecated public String getUserAction()
public ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface ExceptionMessageSetpublic ExceptionMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.Copyright © 2018–2020 ODPi. All rights reserved.