public enum PostgresConnectorAuditCode extends java.lang.Enum<PostgresConnectorAuditCode> implements org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageSet
| Enum Constant and Description |
|---|
CONNECTOR_CHECKED_EXCEPTION |
ERROR_READING_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.AuditLogMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for logging.
|
org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinition |
getMessageDefinition(java.lang.String... params)
Retrieve a message definition object for logging.
|
static PostgresConnectorAuditCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PostgresConnectorAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresConnectorAuditCode ERROR_READING_POSTGRES
public static final PostgresConnectorAuditCode USER_NOT_AUTHORIZED_EXCEPTION
public static final PostgresConnectorAuditCode PROPERTY_SERVER_EXCEPTION
public static final PostgresConnectorAuditCode INVALID_PARAMETER_EXCEPTION
public static final PostgresConnectorAuditCode CONNECTOR_CHECKED_EXCEPTION
public static final PostgresConnectorAuditCode UNEXPECTED_ERROR
public static PostgresConnectorAuditCode[] values()
for (PostgresConnectorAuditCode c : PostgresConnectorAuditCode.values()) System.out.println(c);
public static PostgresConnectorAuditCode 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.AuditLogMessageDefinition getMessageDefinition()
getMessageDefinition in interface org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageSetpublic org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinition getMessageDefinition(java.lang.String... params)
getMessageDefinition in interface org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.