public class SOAPFaultException extends ProtocolException
SOAPFaultException异常表示一个SOAP 1.1或1.2故障。 
        A SOAPFaultException包装一个SAAJ SOAPFault ,它管理特定于SOAP的SOAP故障表示。 该createFault的方法javax.xml.soap.SOAPFactory可以用来创建的实例javax.xml.soap.SOAPFault用于构造用途。 SOAPBinding包含绑定实例使用的SOAPFactory的访问器。 
 请注意, getFault的值是getFault SOAP错误时所使用的getFault的唯一部分。 
有关SOAP故障的完整描述,请参阅SOAP规范。
SOAPFault , SOAPBinding.getSOAPFactory() , ProtocolException , Serialized Form 
       | Constructor and Description | 
|---|
| SOAPFaultException(SOAPFault fault)
              SOAPFaultException的构造方法 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| SOAPFault | getFault()
              获取嵌入式的 
              SOAPFault实例。 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SOAPFaultException(SOAPFault fault)
fault - 
            SOAPFault表示故障 
           SOAPFactory.createFault(java.lang.String, javax.xml.namespace.QName) 
           public SOAPFault getFault()
SOAPFault实例。 
          javax.xml.soap.SOAPFault SOAP故障元素 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.