@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class LogException extends LDAPSDKException
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 |
---|
LogException(java.lang.String logMessage,
java.lang.String explanation)
Creates a new log exception with the provided information.
|
LogException(java.lang.String logMessage,
java.lang.String explanation,
java.lang.Throwable cause)
Creates a new log exception with the provided information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogMessage()
Retrieves the malformed log message string that triggered this exception.
|
getExceptionMessage, getExceptionMessage, toString, toString
public LogException(@NotNull java.lang.String logMessage, @NotNull java.lang.String explanation)
logMessage
- The malformed log message string that triggered this
exception. It must not be null
.explanation
- A message explaining the problem that occurred. It
must not be null
.public LogException(@NotNull java.lang.String logMessage, @NotNull java.lang.String explanation, @Nullable java.lang.Throwable cause)
logMessage
- The malformed log message string that triggered this
exception. It must not be null
.explanation
- A message explaining the problem that occurred. It
must not be null
.cause
- An underlying exception that triggered this exception.@NotNull public java.lang.String getLogMessage()