- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- javax.naming.NamingException
- 
- javax.naming.directory.SchemaViolationException
 
 
 
 
- 
- すべての実装されたインタフェース:
- Serializable
 
 public class SchemaViolationException extends NamingException この例外は、メソッドがなんらかの形でスキーマに違反した場合にスローされます。 スキーマ違反の一例はオブジェクトの属性を変更することで、これはオブジェクトのスキーマ定義に違反します。 ほかの例としては、オブジェクトの名前変更、またはオブジェクトを名前空間の一部へ移動させる場合が挙げられ、これは名前空間のスキーマ定義に違反します。NamingExceptionに適用される同期および直列化は、ここで直接適用されます。 - 導入されたバージョン:
- 1.3
- 関連項目:
- Context.bind(javax.naming.Name, java.lang.Object),- DirContext.bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes),- Context.rebind(javax.naming.Name, java.lang.Object),- DirContext.rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes),- DirContext.createSubcontext(javax.naming.Name, javax.naming.directory.Attributes),- Context.createSubcontext(javax.naming.Name),- DirContext.modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes), 直列化された形式
 
- 
- 
フィールドのサマリー- 
クラス javax.naming.NamingExceptionで宣言されたフィールドremainingName, resolvedName, resolvedObj, rootException
 
- 
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 SchemaViolationException()SchemaViolationExceptionの新しいインスタンスを構築します。SchemaViolationException(String explanation)指定された説明を使用して、SchemaViolationExceptionのインスタンスを新しく構築します。
 - 
メソッドのサマリー- 
クラス javax.naming.NamingExceptionで宣言されたメソッドappendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 - 
クラス java.lang.Throwableで宣言されたメソッドaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
コンストラクタの詳細- 
SchemaViolationExceptionpublic SchemaViolationException() SchemaViolationExceptionの新しいインスタンスを構築します。 ほかのフィールドはすべてnullに設定されます。
 - 
SchemaViolationExceptionpublic SchemaViolationException(String explanation) 指定された説明を使用して、SchemaViolationExceptionのインスタンスを新しく構築します。 ほかのフィールドはすべてnullに設定されます。- パラメータ:
- explanation- この例外に関する詳細情報。 nullも可。
- 関連項目:
- Throwable.getMessage()
 
 
- 
 
-