public enum PostgresConnectorErrorCode extends java.lang.Enum<PostgresConnectorErrorCode> implements org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageSet
| Enum Constant and Description |
|---|
ALREADY_HANDLED_EXCEPTION |
CONNECTOR_CHECKED_EXCEPTION |
ERROR_READING_FROM_POSTGRES |
INVALID_PARAMETER_EXCEPTION |
PROPERTY_SERVER_EXCEPTION |
UNEXPECTED_ERROR |
USER_NOT_AUTHORIZED_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition |
getMessageDefinition(java.lang.String... params)
Retrieve a message definition object for an exception.
|
static PostgresConnectorErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PostgresConnectorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresConnectorErrorCode ERROR_READING_FROM_POSTGRES
public static final PostgresConnectorErrorCode USER_NOT_AUTHORIZED_EXCEPTION
public static final PostgresConnectorErrorCode INVALID_PARAMETER_EXCEPTION
public static final PostgresConnectorErrorCode UNEXPECTED_ERROR
public static final PostgresConnectorErrorCode PROPERTY_SERVER_EXCEPTION
public static final PostgresConnectorErrorCode CONNECTOR_CHECKED_EXCEPTION
public static final PostgresConnectorErrorCode ALREADY_HANDLED_EXCEPTION
public static PostgresConnectorErrorCode[] values()
for (PostgresConnectorErrorCode c : PostgresConnectorErrorCode.values()) System.out.println(c);
public static PostgresConnectorErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageSetpublic org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition getMessageDefinition(java.lang.String... params)
getMessageDefinition in interface org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.