|
||||||||||
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.shared.ldap.exception.LdapException
org.apache.directory.shared.ldap.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,
java.lang.String message)
Creates a new instance of LdapOperationException. |
|
LdapOperationException(java.lang.String message)
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, java.lang.String message)
resultCode
- The operation resultCodemessage
- The exception messagepublic LdapOperationException(java.lang.String message)
message
- The exception messageMethod 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 |