public class LDAPConnectionException extends OpenDsException
| Constructor and Description |
|---|
LDAPConnectionException(LocalizableMessage message)
Creates a new exception with the provided message.
|
LDAPConnectionException(LocalizableMessage message,
int resultCode,
LocalizableMessage errorMessage)
Creates a new exception with the provided message.
|
LDAPConnectionException(LocalizableMessage message,
int resultCode,
LocalizableMessage errorMessage,
DN matchedDN,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
LDAPConnectionException(LocalizableMessage message,
int resultCode,
LocalizableMessage errorMessage,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
LDAPConnectionException(LocalizableMessage message,
Throwable cause)
Creates a new exception with the provided message and
underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
LocalizableMessage |
getErrorMessage()
Retrieves the server-provided error message associated with this exception.
|
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(LocalizableMessage message)
message - The message to use for this exception.public LDAPConnectionException(LocalizableMessage message, int resultCode, 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(LocalizableMessage message, Throwable cause)
message - The message to use for this exception.cause - The underlying cause that triggered this
exception.public LDAPConnectionException(LocalizableMessage message, int resultCode, 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(LocalizableMessage message, int resultCode, LocalizableMessage errorMessage, 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 LocalizableMessage getErrorMessage()
public DN getMatchedDN()
null if
none was provided.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.