public enum DataEngineErrorCode extends Enum<DataEngineErrorCode> implements ExceptionMessageSet
The 5 fields in the enum are:
| Enum Constant and Description |
|---|
DATA_ENGINE_EXCEPTION |
DATABASE_NOT_FOUND |
INVALID_PORT_TYPE |
NULL_TOPIC_CONNECTOR |
OMRS_NOT_INITIALIZED |
PORT_NOT_FOUND |
PROCESS_EVENT_EXCEPTION |
PROCESS_NOT_FOUND |
SCHEMA_ATTRIBUTE_NOT_FOUND |
UNABLE_TO_SEND_EVENT |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an exception.
|
static DataEngineErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEngineErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEngineErrorCode OMRS_NOT_INITIALIZED
public static final DataEngineErrorCode INVALID_PORT_TYPE
public static final DataEngineErrorCode PROCESS_EVENT_EXCEPTION
public static final DataEngineErrorCode DATA_ENGINE_EXCEPTION
public static final DataEngineErrorCode SCHEMA_ATTRIBUTE_NOT_FOUND
public static final DataEngineErrorCode PORT_NOT_FOUND
public static final DataEngineErrorCode NULL_TOPIC_CONNECTOR
public static final DataEngineErrorCode PROCESS_NOT_FOUND
public static final DataEngineErrorCode DATABASE_NOT_FOUND
public static final DataEngineErrorCode UNABLE_TO_SEND_EVENT
public static DataEngineErrorCode[] values()
for (DataEngineErrorCode c : DataEngineErrorCode.values()) System.out.println(c);
public static DataEngineErrorCode 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 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–2021 LF AI & Data Foundation. All rights reserved.