public enum OpenLineageServerErrorCode extends Enum<OpenLineageServerErrorCode>
The 5 fields in the enum are:
| 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 OpenLineageServerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenLineageServerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenLineageServerErrorCode NO_CONFIG_DOC
public static final OpenLineageServerErrorCode SERVICE_INSTANCE_FAILURE
public static final OpenLineageServerErrorCode CANNOT_OPEN_GRAPH_DB
public static final OpenLineageServerErrorCode ERROR_INITIALIZING_BUFFER_GRAPH_CONNECTOR_DB
public static final OpenLineageServerErrorCode ERROR_INITIALIZING_MAIN_GRAPH_CONNECTOR_DB
public static final OpenLineageServerErrorCode ERROR_STARTING_BUFFER_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_STARTING_MAIN_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_OBTAINING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_OBTAINING_BUFFER_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_OBTAINING_MAIN_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_STARTING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_DISCONNECTING_BUFFER_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_DISCONNECTING_MAIN_GRAPH_CONNECTOR
public static final OpenLineageServerErrorCode ERROR_DISCONNECTING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerErrorCode NODE_NOT_FOUND
public static final OpenLineageServerErrorCode GRAPH_INITIALIZATION_ERROR
public static final OpenLineageServerErrorCode OPEN_LINEAGE_HANDLER_NOT_INSTANTIATED
public static final OpenLineageServerErrorCode LINEAGE_CYCLE
public static final OpenLineageServerErrorCode ERROR_INITIALIZING_OLS
public static OpenLineageServerErrorCode[] values()
for (OpenLineageServerErrorCode c : OpenLineageServerErrorCode.values()) System.out.println(c);
public static OpenLineageServerErrorCode 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.