|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.directory.SchemaViolationException
public class SchemaViolationException
當方法在某些方面違反網要時,拋出此異常。修改違反物件網要定義的物件屬性就是一個違反網要的範例。另一個範例是,將物件重命名或移動到違反名稱空間網要定義的名稱空間部分。
應用於 NamingException 的同步和序列化問題在這裡可以直接應用。
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 實例。 |
|
| 方法摘要 |
|---|
| 從類別 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 SchemaViolationException()
public SchemaViolationException(String explanation)
explanation - 關於此異常的詳細資訊。可以為 null。Throwable.getMessage()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。