public class LDAPException extends Exception
Constructor and Description |
---|
LDAPException(int resultCode,
String errorMessage)
Constructs a new LDAPException with the specified result code and
error message.
|
LDAPException(int resultCode,
String errorMessage,
String matchedDN,
Throwable cause)
Constructs a new LDAPException with the specified result code, error message,
matched DN and cause.
|
LDAPException(int resultCode,
String errorMessage,
Throwable cause)
Constructs a new LDAPException with the specified result code, error message
and cause.
|
LDAPException(String errorMessage)
Constructs a new LDAPException with the specified error message.
|
LDAPException(String errorMessage,
Throwable cause)
Constructs a new LDAPException with the specified error message and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getMatchedDN()
Returns the matched DN from this LDAPException.
|
int |
getResultCode()
Returns the result code from this LDAPException.
|
boolean |
hasResultCode()
Reports whether the result code value was set for this LDAPException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LDAPException(int resultCode, String errorMessage, String matchedDN, Throwable cause)
public LDAPException(int resultCode, String errorMessage, Throwable cause)
public LDAPException(int resultCode, String errorMessage)
public LDAPException(String errorMessage, Throwable cause)
public LDAPException(String errorMessage)
public int getResultCode()
public String getMatchedDN()
public boolean hasResultCode()