|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.server.tools.LDAPConnectionException
public class LDAPConnectionException
This class defines an exception that may be thrown during the course of creating an LDAP connection to the server.
| Constructor Summary | |
|---|---|
LDAPConnectionException(Message message)
Creates a new exception with the provided message. |
|
LDAPConnectionException(Message message,
int resultCode,
Message errorMessage)
Creates a new exception with the provided message. |
|
LDAPConnectionException(Message message,
int resultCode,
Message errorMessage,
DN matchedDN,
java.lang.Throwable cause)
Creates a new exception with the provided message and underlying cause. |
|
LDAPConnectionException(Message message,
int resultCode,
Message errorMessage,
java.lang.Throwable cause)
Creates a new exception with the provided message and underlying cause. |
|
LDAPConnectionException(Message message,
java.lang.Throwable cause)
Creates a new exception with the provided message and underlying cause. |
|
| Method Summary | |
|---|---|
Message |
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. |
| Methods inherited from class org.opends.server.types.OpenDsException |
|---|
getMessageObject |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LDAPConnectionException(Message message)
message - The message to use for this exception.
public LDAPConnectionException(Message message,
int resultCode,
Message 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(Message message,
java.lang.Throwable cause)
message - The message to use for this exception.cause - The underlying cause that triggered this
exception.
public LDAPConnectionException(Message message,
int resultCode,
Message errorMessage,
java.lang.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(Message message,
int resultCode,
Message errorMessage,
DN matchedDN,
java.lang.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.| Method Detail |
|---|
public int getResultCode()
public Message getErrorMessage()
public DN getMatchedDN()
null if
none was provided.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||