1 7 8 package javax.naming; 9 10 import java.util.Hashtable ; 11 12 37 38 44 45 46 public class CannotProceedException extends NamingException { 47 61 protected Name remainingNewName = null; 62 63 75 protected Hashtable <?,?> environment = null; 76 77 94 protected Name altName = null; 95 96 113 protected Context altNameCtx = null; 114 115 124 public CannotProceedException(String explanation) { 125 super(explanation); 126 } 127 128 132 public CannotProceedException() { 133 super(); 134 } 135 136 143 public Hashtable <?,?> getEnvironment() { 144 return environment; 145 } 146 147 155 public void setEnvironment(Hashtable <?,?> environment) { 156 this.environment = environment; } 158 159 169 public Name getRemainingNewName() { 170 return remainingNewName; 171 } 172 173 192 public void setRemainingNewName(Name newName) { 193 if (newName != null) 194 this.remainingNewName = (Name )(newName.clone()); 195 else 196 this.remainingNewName = null; 197 } 198 199 213 public Name getAltName() { 214 return altName; 215 } 216 217 228 public void setAltName(Name altName) { 229 this.altName = altName; 230 } 231 232 245 public Context getAltNameCtx() { 246 return altNameCtx; 247 } 248 249 260 public void setAltNameCtx(Context altNameCtx) { 261 this.altNameCtx = altNameCtx; 262 } 263 264 265 268 private static final long serialVersionUID = 1219724816191576813L; 269 } 270 | Popular Tags |