javax.naming.ldap
Class LdapReferralException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.naming.NamingException
                    |
                    +--javax.naming.ReferralException
                          |
                          +--javax.naming.ldap.LdapReferralException
All Implemented Interfaces:
Serializable
public abstract class LdapReferralException
extends ReferralException

This abstract class is used to represent an LDAP referral exception. It extends the base ReferralException by providing a getReferralContext() method that accepts request controls. LdapReferralException is an abstract class. Concrete implementations of it determine its synchronization and serialization properties.

A Control[] array passed as a parameter to the getReferralContext() method is owned by the caller. The service provider will not modify the array or keep a reference to it, although it may keep references to the individual Control objects in the array.

Since:
1.3
See Also:
Serialized Form

 

Field Summary

 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 

 

Constructor Summary

protected LdapReferralException()
    Constructs a new instance of LdapReferralException.
protected LdapReferralException(String explanation)
    Constructs a new instance of LdapReferralException using the explanation supplied.
 

 

Method Summary

abstract  Context getReferralContext()
    Retrieves the context at which to continue the method using the context's environment and no controls.
abstract  Context getReferralContext(Hashtable env)
    Retrieves the context at which to continue the method using environment properties and no controls.
abstract  Context getReferralContext(Hashtable env, Control[] reqCtls)
    Retrieves the context at which to continue the method using request controls and environment properties.
 
Methods inherited from class javax.naming.ReferralException
getReferralInfo, retryReferral, skipReferral
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName,