public class LDAPConnectionException extends OpenDsException
| Constructor and Description |
|---|
LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message)
Creates a new exception with the provided message.
|
LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage)
Creates a new exception with the provided message.
|
LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage,
org.forgerock.opendj.ldap.DN matchedDN,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.i18n.LocalizableMessage |
getErrorMessage()
Retrieves the server-provided error message associated with this exception.
|
org.forgerock.opendj.ldap.DN |
getMatchedDN()
Return the matched DN associated with this exception.
|
int |
getResultCode()
Return the result code associated with this exception.
|
getMessageObjectaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message)
message - The message to use for this exception.public LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage)
message - The message to use for this exception.resultCode - The result code for this exception.errorMessage - The server-provided error message for this exception.public LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
Throwable cause)
message - The message to use for this exception.cause - The underlying cause that triggered this
exception.public LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage,
Throwable cause)
message - The message to use for this exception.resultCode - The result code for this exception.errorMessage - The server-provided error message for this exception.cause - The underlying cause that triggered this
exception.public LDAPConnectionException(org.forgerock.i18n.LocalizableMessage message,
int resultCode,
org.forgerock.i18n.LocalizableMessage errorMessage,
org.forgerock.opendj.ldap.DN matchedDN,
Throwable cause)
message - The explanation to use for this exception.resultCode - The result code for this exception.errorMessage - The server-provided error message for this
exception.matchedDN - The matched DN string for this exception.cause - The underlying cause that triggered this
exception.public int getResultCode()
public org.forgerock.i18n.LocalizableMessage getErrorMessage()
public org.forgerock.opendj.ldap.DN getMatchedDN()
null if
none was provided.Copyright © 2010-2020 Wren Security. All Rights Reserved.