1 7 8 package javax.naming.directory; 9 10 import javax.naming.NamingException ; 11 12 34 35 42 43 44 public class AttributeModificationException extends NamingException { 45 49 private ModificationItem [] unexecs = null; 50 51 60 public AttributeModificationException(String explanation) { 61 super(explanation); 62 } 63 64 68 public AttributeModificationException() { 69 super(); 70 } 71 72 83 public void setUnexecutedModifications(ModificationItem [] e) { 84 unexecs = e; 85 } 86 87 98 public ModificationItem [] getUnexecutedModifications() { 99 return unexecs; 100 } 101 102 110 public String toString() { 111 String orig = super.toString(); 112 if (unexecs != null) { 113 orig += ("First unexecuted modification: " + 114 unexecs[0].toString()); 115 } 116 return orig; 117 } 118 119 122 private static final long serialVersionUID = 8060676069678710186L; 123 } 124 | Popular Tags |