public class AttributeModificationException extends NamingException
AttributeModificationException实例与并发多线程访问不同步。 尝试访问和修改单个AttributeModification实例的多个线程应锁定该对象。
remainingName, resolvedName, resolvedObj, rootException
Constructor and Description |
---|
AttributeModificationException()
构造一个新的AttributeModificationException实例。
|
AttributeModificationException(String explanation)
使用说明构造一个新的AttributeModificationException实例。
|
Modifier and Type | Method and Description |
---|---|
ModificationItem[] |
getUnexecutedModifications()
检索未执行的修改列表。
|
void |
setUnexecutedModifications(ModificationItem[] e)
将未执行的修改列表设置为e。
|
String |
toString()
此异常的字符串表示形式包含有关错误发生位置的信息和第一个未执行的修改。
|
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
- 可能是关于此异常的额外详细信息。
如果为空,则此异常没有详细消息。
Throwable.getMessage()
public AttributeModificationException()
public void setUnexecutedModifications(ModificationItem[] e)
e
-
e
的可能的空列表。
getUnexecutedModifications()
public ModificationItem[] getUnexecutedModifications()
setUnexecutedModifications(javax.naming.directory.ModificationItem[])
public String toString()
toString
在类别
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, 2014, Oracle and/or its affiliates. All rights reserved.