All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPReferralException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ietf.ldap.LDAPException
              extended by org.ietf.ldap.LDAPReferralException
All Implemented Interfaces:
java.io.Serializable

public class LDAPReferralException
extends LDAPException

Thrown when a server returns a referral and when a referral has not been followed.

See Also:
com.novell.ldap.LDAPReferralException, Serialized Form

Field Summary
private  LDAPReferralException exception
           
 
Fields inherited from class org.ietf.ldap.LDAPException
ADMIN_LIMIT_EXCEEDED, AFFECTS_MULTIPLE_DSAS, ALIAS_DEREFERENCING_PROBLEM, ALIAS_PROBLEM, AMBIGUOUS_RESPONSE, ATTRIBUTE_OR_VALUE_EXISTS, AUTH_METHOD_NOT_SUPPORTED, AUTH_UNKNOWN, BUSY, CLIENT_LOOP, COMPARE_FALSE, COMPARE_TRUE, CONFIDENTIALITY_REQUIRED, CONNECT_ERROR, CONSTRAINT_VIOLATION, CONTROL_NOT_FOUND, DECODING_ERROR, ENCODING_ERROR, ENTRY_ALREADY_EXISTS, FILTER_ERROR, INAPPROPRIATE_AUTHENTICATION, INAPPROPRIATE_MATCHING, INSUFFICIENT_ACCESS_RIGHTS, INVALID_ATTRIBUTE_SYNTAX, INVALID_CREDENTIALS, INVALID_DN_SYNTAX, INVALID_RESPONSE, IS_LEAF, LDAP_NOT_SUPPORTED, LDAP_TIMEOUT, LOCAL_ERROR, LOOP_DETECT, MORE_RESULTS_TO_RETURN, NAMING_VIOLATION, NO_MEMORY, NO_RESULTS_RETURNED, NO_SUCH_ATTRIBUTE, NO_SUCH_OBJECT, NOT_ALLOWED_ON_NONLEAF, NOT_ALLOWED_ON_RDN, OBJECT_CLASS_MODS_PROHIBITED, OBJECT_CLASS_VIOLATION, OPERATIONS_ERROR, OTHER, PROTOCOL_ERROR, REFERRAL, REFERRAL_LIMIT_EXCEEDED, SASL_BIND_IN_PROGRESS, SERVER_DOWN, SIZE_LIMIT_EXCEEDED, STRONG_AUTH_REQUIRED, SUCCESS, TIME_LIMIT_EXCEEDED, TLS_NOT_SUPPORTED, UNAVAILABLE, UNAVAILABLE_CRITICAL_EXTENSION, UNDEFINED_ATTRIBUTE_TYPE, UNWILLING_TO_PERFORM, USER_CANCELLED
 
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

exception

private LDAPReferralException exception
Constructor Detail

LDAPReferralException

public LDAPReferralException(LDAPReferralException ex)
Constructs a referral exception from a com.novell.ldap.LDAPREferralException


LDAPReferralException

public LDAPReferralException()
Constructs a default exception with no specific error information.

See Also:
com.novell.ldap.LDAPReferralException.LDAPReferralException()

LDAPReferralException

public LDAPReferralException(java.lang.String message)
Constructs a default exception with a specified string as additional information.

See Also:
com.novell.ldap.LDAPReferralException.LDAPReferralException( String)

LDAPReferralException

public 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.

See Also:
com.novell.ldap.LDAPReferralException.LDAPReferralException( String, Throwable)

LDAPReferralException

public 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.

See Also:
com.novell.ldap.LDAPReferralException.LDAPReferralException( String, int, String)

LDAPReferralException

public 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.

See Also:
com.novell.ldap.LDAPReferralException.LDAPReferralException( String, int, String, Throwable)
Method Detail

getFailedReferral

public java.lang.String getFailedReferral()
Gets the referral that could not be processed.

See Also:
com.novell.ldap.LDAPReferralException.getFailedReferral()

getReferrals

public java.lang.String[] getReferrals()
Gets the list of referrals (LDAP URLs to other servers) returned by the LDAP server.

See Also:
com.novell.ldap.LDAPReferralException.getReferrals()

setFailedReferral

public void setFailedReferral(java.lang.String url)
Sets a referral that could not be processed

See Also:
com.novell.ldap.LDAPReferralException.setFailedReferral(String)

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000