public enum OMAGOCFErrorCode extends Enum<OMAGOCFErrorCode> implements ExceptionMessageSet
| Enum Constant and Description |
|---|
BAD_CLASSIFICATION_PROPERTIES |
BAD_INTEGRATOR_NAME |
INTEGRATOR_NOT_RETURNED |
NO_ASSET_PROPERTIES |
NULL_CLASSIFICATION_NAME |
NULL_CONNECTION_PARAMETER |
NULL_CONNECTOR_RETURNED |
OMRS_NOT_INITIALIZED |
WRONG_TYPE_OF_CONNECTOR |
| 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 OMAGOCFErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMAGOCFErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMAGOCFErrorCode NULL_CONNECTION_PARAMETER
public static final OMAGOCFErrorCode NO_ASSET_PROPERTIES
public static final OMAGOCFErrorCode NULL_CLASSIFICATION_NAME
public static final OMAGOCFErrorCode BAD_CLASSIFICATION_PROPERTIES
public static final OMAGOCFErrorCode INTEGRATOR_NOT_RETURNED
public static final OMAGOCFErrorCode BAD_INTEGRATOR_NAME
public static final OMAGOCFErrorCode OMRS_NOT_INITIALIZED
public static final OMAGOCFErrorCode NULL_CONNECTOR_RETURNED
public static final OMAGOCFErrorCode WRONG_TYPE_OF_CONNECTOR
public static OMAGOCFErrorCode[] values()
for (OMAGOCFErrorCode c : OMAGOCFErrorCode.values()) System.out.println(c);
public static OMAGOCFErrorCode 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.