|
||||||||||
| 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.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapOperationException
public class LdapOperationException
An class for LDAP operation exceptions which add LDAP specific information to Exceptions.
| Field Summary | |
|---|---|
protected Dn |
resolvedDn
The resolved Dn |
protected ResultCodeEnum |
resultCode
The operation resultCode |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Dn |
getResolvedDn()
|
ResultCodeEnum |
getResultCode()
Gets the LDAP result code that would be associated with this exception. |
void |
setResolvedDn(Dn resolvedDn)
|
| 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 |
| Field Detail |
|---|
protected ResultCodeEnum resultCode
protected Dn resolvedDn
| Constructor Detail |
|---|
public LdapOperationException(ResultCodeEnum resultCode,
String message)
resultCode - The operation resultCodemessage - The exception message
public 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 message
public LdapOperationException(String message,
Throwable cause)
message - The exception messagecause - The root cause for this exception| Method Detail |
|---|
public Dn getResolvedDn()
public void setResolvedDn(Dn resolvedDn)
resolvedDn - the resolvedDn to setpublic ResultCodeEnum getResultCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||