|
All LDAP Classes Internal LDAP Classes |
||||||||
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.ietf.ldap.LDAPException
org.ietf.ldap.LDAPReferralException
public class LDAPReferralException
Thrown when a server returns a referral and when a referral has not been followed.
Field Summary | |
---|---|
private LDAPReferralException |
exception
|
Constructor Summary | |
---|---|
LDAPReferralException()
Constructs a default exception with no specific error information. |
|
LDAPReferralException(LDAPReferralException ex)
Constructs a referral exception from a com.novell.ldap.LDAPREferralException |
|
LDAPReferralException(java.lang.String message)
Constructs a default exception with a specified string as additional information. |
|
LDAPReferralException(java.lang.String message,
int resultCode,
java.lang.String serverMessage)
Constructs an exception with a specified error string, result code, and an error message from the server. |
|
LDAPReferralException(java.lang.String message,
int resultCode,
java.lang.String serverMessage,
java.lang.Throwable rootException)
Constructs an exception with a specified error string, result code, an error message from the server, and an exception that indicates a failure to follow a referral. |
|
LDAPReferralException(java.lang.String message,
java.lang.Throwable rootException)
Constructs a default exception with a specified string as additional information and an exception that indicates a failure to follow a referral. |
Method Summary | |
---|---|
java.lang.String |
getFailedReferral()
Gets the referral that could not be processed. |
java.lang.String[] |
getReferrals()
Gets the list of referrals (LDAP URLs to other servers) returned by the LDAP server. |
void |
setFailedReferral(java.lang.String url)
Sets a referral that could not be processed |
Methods inherited from class org.ietf.ldap.LDAPException |
---|
fillInStackTrace, getCause, getLDAPErrorMessage, getLocalizedMessage, getMatchedDN, getMessage, getResultCode, getWrappedObject, printStackTrace, printStackTrace, printStackTrace, resultCodeToString, resultCodeToString, resultCodeToString, resultCodeToString, toString |
Methods inherited from class java.lang.Throwable |
---|
getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private LDAPReferralException exception
Constructor Detail |
---|
public LDAPReferralException(LDAPReferralException ex)
public LDAPReferralException()
public LDAPReferralException(java.lang.String message)
public LDAPReferralException(java.lang.String message, java.lang.Throwable rootException)
public LDAPReferralException(java.lang.String message, int resultCode, java.lang.String serverMessage)
public LDAPReferralException(java.lang.String message, int resultCode, java.lang.String serverMessage, java.lang.Throwable rootException)
Method Detail |
---|
public java.lang.String getFailedReferral()
public java.lang.String[] getReferrals()
public void setFailedReferral(java.lang.String url)
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |