src/share/classes/com/sun/jndi/ldap/LdapReferralException.java

Print this page

        

*** 24,34 **** */ package com.sun.jndi.ldap; import javax.naming.*; - import javax.naming.spi.*; import javax.naming.ldap.Control; import java.util.Hashtable; import java.util.Vector; --- 24,33 ----
*** 65,83 **** * * @author Vincent Ryan */ final public class LdapReferralException extends javax.naming.ldap.LdapReferralException { // ----------- fields initialized in constructor --------------- private int handleReferrals; ! private Hashtable envprops; private String nextName; private Control[] reqCtls; // ----------- fields that have defaults ----------------------- ! private Vector referrals = null; // alternatives,set by setReferralInfo() private int referralIndex = 0; // index into referrals private int referralCount = 0; // count of referrals private boolean foundEntry = false; // will stop when entry is found private boolean skipThisReferral = false; private int hopCount = 1; --- 64,83 ---- * * @author Vincent Ryan */ final public class LdapReferralException extends javax.naming.ldap.LdapReferralException { + private static final long serialVersionUID = 627059076356906399L; // ----------- fields initialized in constructor --------------- private int handleReferrals; ! private Hashtable<?,?> envprops; private String nextName; private Control[] reqCtls; // ----------- fields that have defaults ----------------------- ! private Vector<?> referrals = null; // alternatives,set by setReferralInfo() private int referralIndex = 0; // index into referrals private int referralCount = 0; // count of referrals private boolean foundEntry = false; // will stop when entry is found private boolean skipThisReferral = false; private int hopCount = 1;
*** 96,106 **** */ LdapReferralException(Name resolvedName, Object resolvedObj, Name remainingName, String explanation, ! Hashtable envprops, String nextName, int handleReferrals, Control[] reqCtls) { super(explanation); --- 96,106 ---- */ LdapReferralException(Name resolvedName, Object resolvedObj, Name remainingName, String explanation, ! Hashtable<?,?> envprops, String nextName, int handleReferrals, Control[] reqCtls) { super(explanation);
*** 208,218 **** /** * Sets referral information. */ ! void setReferralInfo(Vector referrals, boolean continuationRef) { // %%% continuationRef is currently ignored if (debug) System.out.println("LdapReferralException.setReferralInfo"); --- 208,218 ---- /** * Sets referral information. */ ! void setReferralInfo(Vector<?> referrals, boolean continuationRef) { // %%% continuationRef is currently ignored if (debug) System.out.println("LdapReferralException.setReferralInfo");