|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.OperationNotSupportedException
public class OperationNotSupportedException
當上下文實作不支持將調用的操作時,拋出此異常。例如,如果某個伺服器不支持 Context.bind() 方法,則在該伺服器上調用 bind() 方法時,它將拋出 OperationNotSupportedException。
應用於 NamingException 的同步和序列化問題在這裡可以直接應用。
| 欄位摘要 |
|---|
| 從類別 javax.naming.NamingException 繼承的欄位 |
|---|
remainingName, resolvedName, resolvedObj, rootException |
| 建構子摘要 | |
|---|---|
OperationNotSupportedException()
建構一個新的 OperationNotSupportedException 實例。 |
|
OperationNotSupportedException(String explanation)
使用解釋建構一個新的 OperationNotSupportedException 實例。 |
|
| 方法摘要 |
|---|
| 從類別 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 OperationNotSupportedException()
public OperationNotSupportedException(String explanation)
explanation - 有關此異常的附加詳細資訊(可能為 null)。Throwable.getMessage()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。