|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
javax.xml.ws.ProtocolException
javax.xml.ws.soap.SOAPFaultException
public class SOAPFaultException
SOAPFaultException 異常表示一個 SOAP 1.1 或 1.2 故障。
SOAPFaultException 套件裝了一個管理特定於 SOAP 的故障表示形式的 SAAJ SOAPFault。可以使用 javax.xml.soap.SOAPFactory 的 createFault 方法創建一個 javax.xml.soap.SOAPFault 實例,以供建構子使用。SOAPBinding 套件含一個存取程序,該存取程序用於由綁定實例使用的 SOAPFactory。
注意,getFault 的值是序列化 SOAP 故障時所使用的唯一異常部分。
有關 SOAP 故障的完整描述,請參考 SOAP 規範。
SOAPFault,
SOAPBinding.getSOAPFactory(),
ProtocolException,
序列化表格| 建構子摘要 | |
|---|---|
SOAPFaultException(SOAPFault fault)
SOAPFaultException 的建構子 |
|
| 方法摘要 | |
|---|---|
SOAPFault |
getFault()
獲取嵌入的 SOAPFault 實例。 |
| 從類別 java.lang.Throwable 繼承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public SOAPFaultException(SOAPFault fault)
fault - 表示故障的 SOAPFaultSOAPFactory.createFault(java.lang.String, javax.xml.namespace.QName)| 方法詳細資訊 |
|---|
public SOAPFault getFault()
SOAPFault 實例。
javax.xml.soap.SOAPFault SOAP 故障元素
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。