public enum OMAGCommonAuditCode extends Enum<OMAGCommonAuditCode>
| Enum Constant and Description |
|---|
UNEXPECTED_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedLogMessage(String... params)
Returns the log message with the placeholders filled out with the supplied parameters.
|
String |
getLogMessageId()
Returns the unique identifier for the error message.
|
OMRSAuditLogRecordSeverity |
getSeverity()
Return the severity of the audit log record.
|
String |
getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was
detected.
|
String |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
String |
toString()
JSON-style toString
|
static OMAGCommonAuditCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMAGCommonAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMAGCommonAuditCode UNEXPECTED_EXCEPTION
public static OMAGCommonAuditCode[] values()
for (OMAGCommonAuditCode c : OMAGCommonAuditCode.values()) System.out.println(c);
public static OMAGCommonAuditCode 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 String getLogMessageId()
public OMRSAuditLogRecordSeverity getSeverity()
public String getFormattedLogMessage(String... params)
params - - strings that plug into the placeholders in the logMessagepublic String getSystemAction()
public String getUserAction()
public String toString()
toString in class Enum<OMAGCommonAuditCode>Copyright © 2018–2020 ODPi. All rights reserved.