com.netscape.jndi.ldap
Class LdapReferralException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byjavax.naming.ReferralException
                  extended byjavax.naming.ldap.LdapReferralException
                      extended bycom.netscape.jndi.ldap.LdapReferralException
All Implemented Interfaces:
java.io.Serializable

class LdapReferralException
extends javax.naming.ldap.LdapReferralException

A wrapper for the ldapjdk LDAPReferralException


Field Summary
(package private)  LDAPReferralException m_ldapEx
           
(package private)  int m_referralIdx
           
(package private)  LdapContextImpl m_srcCtx
           
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapReferralException(LdapContextImpl srcCtx, LDAPReferralException ldapEx)
           
 
Method Summary
 javax.naming.Context getReferralContext()
           
 javax.naming.Context getReferralContext(java.util.Hashtable env)
           
 javax.naming.Context getReferralContext(java.util.Hashtable env, javax.naming.ldap.Control[] reqCtls)
           
 java.lang.Object getReferralInfo()
           
 void retryReferral()
           
 boolean skipReferral()
          Skip the referral to be processed
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_ldapEx

LDAPReferralException m_ldapEx

m_srcCtx

LdapContextImpl m_srcCtx

m_referralIdx

int m_referralIdx
Constructor Detail

LdapReferralException

public LdapReferralException(LdapContextImpl srcCtx,
                             LDAPReferralException ldapEx)
Method Detail

getReferralInfo

public java.lang.Object getReferralInfo()

getReferralContext

public javax.naming.Context getReferralContext()
                                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getReferralContext

public javax.naming.Context getReferralContext(java.util.Hashtable env)
                                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getReferralContext

public javax.naming.Context getReferralContext(java.util.Hashtable env,
                                               javax.naming.ldap.Control[] reqCtls)
                                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

skipReferral

public boolean skipReferral()
Skip the referral to be processed


retryReferral

public void retryReferral()