public class AttributeModificationException extends NamingException
An AttributeModificationException instance is not synchronized against concurrent multithreaded access. Multiple threads trying to access and modify a single AttributeModification instance should lock the object.
remainingName, resolvedName, resolvedObj, rootException
Constructor and Description |
---|
AttributeModificationException()
Constructs a new instance of AttributeModificationException.
|
AttributeModificationException(String explanation)
Constructs a new instance of AttributeModificationException using
an explanation.
|
Modifier and Type | Method and Description |
---|---|
ModificationItem[] |
getUnexecutedModifications()
Retrieves the unexecuted modification list.
|
void |
setUnexecutedModifications(ModificationItem[] e)
Sets the unexecuted modification list to be e.
|
String |
toString()
The string representation of this exception consists of
information about where the error occurred, and
the first unexecuted modification.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AttributeModificationException(String explanation)
explanation
- Possibly null additional detail about this exception.
If null, this exception has no detail message.Throwable.getMessage()
public AttributeModificationException()
public void setUnexecutedModifications(ModificationItem[] e)
e
- The possibly null list of unexecuted modifications.getUnexecutedModifications()
public ModificationItem[] getUnexecutedModifications()
setUnexecutedModifications(javax.naming.directory.ModificationItem[])
public String toString()
toString
in class NamingException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.