public enum GovernanceActionErrorCode extends Enum<GovernanceActionErrorCode> implements ExceptionMessageSet
| 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 GovernanceActionErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GovernanceActionErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GovernanceActionErrorCode GOVERNANCE_ACTION_ENGINE_INSTANCE_FAILURE
public static final GovernanceActionErrorCode SERVICE_INSTANCE_FAILURE
public static final GovernanceActionErrorCode CONFIGURATION_LISTENER_INSTANCE_FAILURE
public static final GovernanceActionErrorCode UNKNOWN_GOVERNANCE_ACTION_ENGINE_CONFIG_AT_STARTUP
public static final GovernanceActionErrorCode NO_GOVERNANCE_ACTION_ENGINES_STARTED
public static final GovernanceActionErrorCode NO_GOVERNANCE_ACTION_ENGINE_CLIENT
public static final GovernanceActionErrorCode UNKNOWN_GOVERNANCE_ACTION_ENGINE_CONFIG
public static final GovernanceActionErrorCode UNKNOWN_GOVERNANCE_ACTION_ENGINE
public static final GovernanceActionErrorCode UNKNOWN_GOVERNANCE_ACTION_REQUEST_TYPE
public static final GovernanceActionErrorCode INVALID_GOVERNANCE_ACTION_SERVICE
public static final GovernanceActionErrorCode NULL_GOVERNANCE_ACTION_SERVICE
public static final GovernanceActionErrorCode GOVERNANCE_ACTION_ENGINE_NOT_INITIALIZED
public static final GovernanceActionErrorCode UNKNOWN_GOVERNANCE_ACTION_SERVICE
public static final GovernanceActionErrorCode NOT_GOVERNANCE_ACTION_SERVICE
public static GovernanceActionErrorCode[] values()
for (GovernanceActionErrorCode c : GovernanceActionErrorCode.values()) System.out.println(c);
public static GovernanceActionErrorCode 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.