|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.directory.AttributeModificationException
public class AttributeModificationException
この例外は、属性の (スキーマ) 定義や属性の状態と矛盾する、属性、その識別子、またはその値の追加、削除、または変更を実行しようとするとスローされます。この例外は DirContext.modifyAttributes() に応答してスローされます。この属性には、実行されなかった変更のリストが、modifyAttributes() に指定された順序で含まれます。リストが null の場合は、どの変更も正常に実行されなかったことを示します。
AttributeModificationException インスタンスは、並列のマルチスレッドアクセスに対して同期化されません。単一の AttributeModification インスタンスへのアクセスおよびそのインスタンスを変更しようとする複数のスレッドによって、オブジェクトはロックされます。
DirContext.modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes),
直列化された形式| フィールドの概要 |
|---|
| クラス javax.naming.NamingException から継承されたフィールド |
|---|
remainingName, resolvedName, resolvedObj, rootException |
| コンストラクタの概要 | |
|---|---|
AttributeModificationException()
AttributeModificationException の新しいインスタンスを構築します。 |
|
AttributeModificationException(String explanation)
説明を使用して、AttributeModificationException の新しいインスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
ModificationItem[] |
getUnexecutedModifications()
実行されなかった変更のリストを取り出します。 |
void |
setUnexecutedModifications(ModificationItem[] e)
実行されなかった変更のリストを e に設定します。 |
String |
toString()
この例外の文字列表現は、エラーが発生した位置に関する情報、および実行されなかった最初の変更で構成されます。 |
| クラス javax.naming.NamingException から継承されたメソッド |
|---|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AttributeModificationException(String explanation)
explanation - null の可能性がある、この例外に関する追加の詳細情報。null の場合、この例外には詳細メッセージはないThrowable.getMessage()public AttributeModificationException()
| メソッドの詳細 |
|---|
public void setUnexecutedModifications(ModificationItem[] e)
e - null の可能性がある、実行されなかった変更のリストgetUnexecutedModifications()public ModificationItem[] getUnexecutedModifications()
setUnexecutedModifications(javax.naming.directory.ModificationItem[])public String toString()
NamingException 内の toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。