|
||||||||||
| 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.ldaptive.LdapException
public class LdapException
Base exception for all ldap related exceptions. Provider specific exception
can be found using Throwable.getCause().
| Constructor Summary | |
|---|---|
LdapException(Exception e)
Creates a new ldap exception. |
|
LdapException(Exception e,
ResultCode code)
Creates a new ldap exception. |
|
LdapException(Exception e,
ResultCode code,
String dn)
Creates a new ldap exception. |
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception. |
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception. |
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception. |
|
LdapException(String msg)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e,
ResultCode code)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception. |
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception. |
|
LdapException(String msg,
ResultCode code)
Creates a new ldap exception. |
|
LdapException(String msg,
ResultCode code,
String dn)
Creates a new ldap exception. |
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception. |
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception. |
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception. |
|
| Method Summary | |
|---|---|
ResponseControl |
getControl(String oid)
Returns the first response control with the supplied OID for this response message. |
ResponseControl[] |
getControls()
Returns the controls for this message. |
String |
getMatchedDn()
Returns the matched DN produced by the ldap operation. |
int |
getMessageId()
Returns the message ID for this response message. |
String[] |
getReferralURLs()
Returns the referral URLs produced by the ldap operation. |
ResultCode |
getResultCode()
Returns the ldap result code associated with this exception. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdapException(String msg)
msg - describing this exception
public LdapException(String msg,
ResultCode code)
msg - describing this exceptioncode - result code
public LdapException(String msg,
ResultCode code,
String dn)
msg - describing this exceptioncode - result codedn - matched dn
public LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c)
msg - describing this exceptioncode - result codedn - matched dnc - response controls
public LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
msg - describing this exceptioncode - result codedn - matched dnc - response controlsurls - referral urls
public LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
msg - describing this exceptioncode - result codedn - matched dnc - response controlsurls - referral urlsid - message idpublic LdapException(Exception e)
e - provider specific exception
public LdapException(Exception e,
ResultCode code)
e - provider specific exceptioncode - result code
public LdapException(Exception e,
ResultCode code,
String dn)
e - provider specific exceptioncode - result codedn - matched dn
public LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
e - provider specific exceptioncode - result codedn - matched dnc - response controls
public LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
e - provider specific exceptioncode - result codedn - matched dnc - response controlsurls - referral urls
public LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
e - provider specific exceptioncode - result codedn - matched dnc - response controlsurls - referral urlsid - message id
public LdapException(String msg,
Exception e)
msg - describing this exceptione - provider specific exception
public LdapException(String msg,
Exception e,
ResultCode code)
msg - describing this exceptione - provider specific exceptioncode - result code
public LdapException(String msg,
Exception e,
ResultCode code,
String dn)
msg - describing this exceptione - provider specific exceptioncode - result codedn - matched dn
public LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
msg - describing this exceptione - provider specific exceptioncode - result codedn - matched dnc - response controls
public LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
msg - describing this exceptione - provider specific exceptioncode - result codedn - matched dnc - response controlsurls - referral urls
public LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
msg - describing this exceptione - provider specific exceptioncode - result codedn - matched dnc - response controlsurls - referral urlsid - message id| Method Detail |
|---|
public ResultCode getResultCode()
public String getMatchedDn()
public ResponseControl[] getControls()
getControls in interface Message<ResponseControl>public ResponseControl getControl(String oid)
getControl in interface ResponseMessageoid - of the response control to return
public String[] getReferralURLs()
public int getMessageId()
getMessageId in interface ResponseMessagepublic String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||