public class LdapOperationException extends LdapException
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, toString
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 LdapOperationException(String message, Throwable cause)
message
- The exception messagecause
- The root cause for this exceptionpublic ResultCodeEnum getResultCode()
public Dn getResolvedDn()
public void setResolvedDn(Dn resolvedDn)
resolvedDn
- the resolvedDn to setCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.