com.netscape.jndi.ldap
Class LdapReferralException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by javax.naming.ReferralException
                  extended by javax.naming.ldap.LdapReferralException
                      extended by com.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()
Specified by:
getReferralInfo in class javax.naming.ReferralException

getReferralContext

public javax.naming.Context getReferralContext()
                                        throws javax.naming.NamingException
Specified by:
getReferralContext in class javax.naming.ldap.LdapReferralException
Throws:
javax.naming.NamingException

getReferralContext

public javax.naming.Context getReferralContext(java.util.Hashtable env)
                                        throws javax.naming.NamingException
Specified by:
getReferralContext in class javax.naming.ldap.LdapReferralException
Throws:
javax.naming.NamingException

getReferralContext

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

skipReferral

public boolean skipReferral()
Skip the referral to be processed

Specified by:
skipReferral in class javax.naming.ReferralException

retryReferral

public void retryReferral()
Specified by:
retryReferral in class javax.naming.ReferralException