API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.directory. AttributeModificationException View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.10 05/11/17
Serial
Hierarchy
 Object
      Throwable
          Exception
              NamingException
                  AttributeModificationException
Implements
Subclasses
Description
public exception AttributeModificationException
  This exception is thrown when an attempt is made to add, or remove, or modify an attribute, its identifier, or its values that conflicts with the attribute's (schema) definition or the attribute's state.
Constructors
public AttributeModificationException ()
  Constructs a new instance of AttributeModificationException.
public AttributeModificationException (String explanation)
  Constructs a new instance of AttributeModificationException using an explanation.
Methods
Hide/Show inherited methods
public void appendRemainingComponent (String name) [Inherited From NamingException]
  Add name as the last component in remaining name.
public void appendRemainingName (Name name) [Inherited From NamingException]
  Add components from 'name' as the last components in remaining name.
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From NamingException]
  Returns the cause of this exception.
public String getExplanation () [Inherited From NamingException]
  Retrieves the explanation associated with this exception.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public Name getRemainingName () [Inherited From NamingException]
  Retrieves the remaining unresolved portion of the name.
public Name getResolvedName () [Inherited From NamingException]
  Retrieves the leading portion of the name that was resolved successfully.
public Object getResolvedObj () [Inherited From NamingException]
  Retrieves the object to which resolution was successful.
public Throwable getRootCause () [Inherited From NamingException]
  Retrieves the root cause of this NamingException, if any.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
public ModificationItem getUnexecutedModifications ()
  Retrieves the unexecuted modification list.
public Throwable initCause (Throwable cause) [Inherited From NamingException]
  Initializes the cause of this exception to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setRemainingName (Name name) [Inherited From NamingException]
  Sets the remaining name field of this exception.
public void setResolvedName (Name name) [Inherited From NamingException]
  Sets the resolved name field of this exception.
public void setResolvedObj (Object obj) [Inherited From NamingException]
  Sets the resolved object field of this exception.
public void setRootCause (Throwable e) [Inherited From NamingException]
  Records the root cause of this NamingException.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public void setUnexecutedModifications (ModificationItem e)
  Sets the unexecuted modification list to be e.
public String toString () [Overrides NamingException]
  The string representation of this exception consists of information about where the error occurred, and the first unexecuted modification.
public String toString (boolean detail) [Inherited From NamingException]
  Generates the string representation in more detail.
Fields
Hide/Show inherited fields
protected Name remainingName [Inherited From NamingException]
  Contains the remaining name that has not been resolved yet.
protected Name resolvedName [Inherited From NamingException]
  Contains the part of the name that has been successfully resolved.
protected Object resolvedObj [Inherited From NamingException]
  Contains the object to which resolution of the part of the name was successful.
protected Throwable rootException [Inherited From NamingException]
  Contains the original exception that caused this NamingException to be thrown.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar