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)
设置要执行修改列表:
|
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
-未执行的修改可能的空列表。
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.