public class LdapOperationException extends LdapException
| Modifier and Type | Field and Description |
|---|---|
protected Dn |
resolvedDn
The resolved Dn
|
protected ResultCodeEnum |
resultCode
The operation resultCode
|
private static long |
serialVersionUID
The serial version UUID
|
| Constructor and Description |
|---|
LdapOperationException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapOperationException.
|
LdapOperationException(ResultCodeEnum resultCode,
String message,
Throwable cause)
Creates a new instance of LdapOperationException.
|
LdapOperationException(String message)
Creates a new instance of LdapOperationException.
|
LdapOperationException(String message,
Throwable cause)
Creates a new instance of LdapOperationException.
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
getResolvedDn() |
ResultCodeEnum |
getResultCode()
Gets the LDAP result code that would be associated with this exception.
|
void |
setResolvedDn(Dn resolvedDn) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
protected ResultCodeEnum resultCode
protected Dn resolvedDn
public LdapOperationException(ResultCodeEnum resultCode, String message)
resultCode - The operation resultCodemessage - The exception messagepublic LdapOperationException(ResultCodeEnum resultCode, String message, Throwable cause)
resultCode - The operation resultCodemessage - The exception messagecause - The root cause for this exceptionpublic LdapOperationException(String message)
message - The exception messagepublic ResultCodeEnum getResultCode()
public Dn getResolvedDn()
public void setResolvedDn(Dn resolvedDn)
resolvedDn - the resolvedDn to setCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.