|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--netscape.ldap.LDAPException
|
+--netscape.ldap.LDAPReferralException
Represents the situation in which the LDAP server refers the client to
another LDAP server. This exception constructs a list of referral URLs from
the LDAP error message returned by the server. You can get this list by
using the getURLs method.
LDAPException,
Serialized Form| Field Summary |
|---|
| Constructor Summary | |
|---|---|
LDAPReferralException()
Constructs a default exception with no specific error information. |
|
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 serverErrorMessage)
Constructs a default exception with a specified string as additional information. |
|
LDAPReferralException(java.lang.String message,
int resultCode,
java.lang.String[] referrals)
Constructs an exception with a list of LDAP URLs to other LDAP servers. |
|
| Method Summary | |
|---|---|
LDAPUrl[] |
getURLs()
Gets the list of referrals (LDAP URLs to other servers) returned by the LDAP server. |
| Methods inherited from class netscape.ldap.LDAPException |
|---|
errorCodeToString, errorCodeToString, errorCodeToString, errorCodeToString, getLDAPErrorMessage, getLDAPResultCode, getMatchedDN, 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 LDAPReferralException()
public LDAPReferralException(java.lang.String message)
message - the additional error information
public LDAPReferralException(java.lang.String message,
int resultCode,
java.lang.String serverErrorMessage)
message - the additional error informationresultCode - result codeserverErrorMessage - error message
public LDAPReferralException(java.lang.String message,
int resultCode,
java.lang.String[] referrals)
message - the additional error informationresultCode - result codereferrals - array of LDAP URLs identifying other LDAP servers that
may contain the requested entries| Method Detail |
public LDAPUrl[] getURLs()
LDAPConnection object)
to follow referrals automatically, any operation that results in a referral will use
this list to create new connections to the LDAP servers in this list.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||