public enum GAFErrorCode extends Enum<GAFErrorCode>
| 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 GAFErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GAFErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GAFErrorCode NULL_GOVERNANCE_CONTEXT
public static final GAFErrorCode INVALID_GOVERNANCE_SERVICE_CONNECTION
public static final GAFErrorCode INVALID_GOVERNANCE_SERVICE_CONNECTOR
public static final GAFErrorCode NULL_NAME
public static final GAFErrorCode NULL_GUID
public static final GAFErrorCode UNKNOWN_ELEMENT
public static final GAFErrorCode DUPLICATE_ELEMENT
public static final GAFErrorCode NULL_PROPERTY_NAME
public static final GAFErrorCode ARRAY_OUT_OF_BOUNDS
public static final GAFErrorCode UNEXPECTED_EXCEPTION
public static final GAFErrorCode INVALID_PRIMITIVE_CLASS_NAME
public static final GAFErrorCode INVALID_PRIMITIVE_VALUE
public static final GAFErrorCode INVALID_PRIMITIVE_CATEGORY
public static final GAFErrorCode INVALID_PRIMITIVE_TYPE
public static final GAFErrorCode HELPER_LOGIC_ERROR
public static final GAFErrorCode HELPER_LOGIC_EXCEPTION
public static GAFErrorCode[] values()
for (GAFErrorCode c : GAFErrorCode.values()) System.out.println(c);
public static GAFErrorCode 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()
public ExceptionMessageDefinition getMessageDefinition(String... params)
params - 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.