@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ErrorLogMessage extends LogMessage
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Constructor and Description |
---|
ErrorLogMessage(LogMessage m)
Creates a new error log message from the provided message string.
|
ErrorLogMessage(java.lang.String s)
Creates a new error log message from the provided message string.
|
Modifier and Type | Method and Description |
---|---|
ErrorLogCategory |
getCategory()
Retrieves the category for this error log message.
|
java.lang.String |
getInstanceName()
Retrieves the Directory Server instance name for this error log message.
|
java.lang.String |
getMessage()
Retrieves the message text for this error log message.
|
java.lang.Long |
getMessageID()
Retrieves the numeric identifier for this error log message.
|
java.lang.String |
getProductName()
Retrieves the server product name for this error log message.
|
ErrorLogSeverity |
getSeverity()
Retrieves the severity for this error log message.
|
java.lang.String |
getStartupID()
Retrieves the Directory Server startup ID for this error log message.
|
java.lang.Long |
getTriggeredByConnectionID()
Retrieves the connection ID for the operation currently being processed by
the thread that generated this error log message.
|
java.lang.Long |
getTriggeredByOperationID()
Retrieves the operation ID for the operation currently being processed by
the thread that generated this error log message.
|
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
public ErrorLogMessage(@NotNull java.lang.String s) throws LogException
s
- The string to be parsed as an error log message.LogException
- If the provided string cannot be parsed as a valid
log message.public ErrorLogMessage(@NotNull LogMessage m)
m
- The log message to be parsed as an error log message.@Nullable public java.lang.String getProductName()
null
if it is not included in the log message.@Nullable public java.lang.String getInstanceName()
null
if it is not included in the log message.@Nullable public java.lang.String getStartupID()
null
if it is not included in the log message.@Nullable public ErrorLogCategory getCategory()
null
if it is
not included in the log message.@Nullable public ErrorLogSeverity getSeverity()
null
if it is
not included in the log message.@Nullable public java.lang.Long getMessageID()
null
if it is not included in the log message.@Nullable public java.lang.Long getTriggeredByConnectionID()
null
if it is not included in the log message.@Nullable public java.lang.Long getTriggeredByOperationID()
null
if it is not included in the log message.@Nullable public java.lang.String getMessage()
null
if it
is not included in the log message.