class SOAP12Fault extends SOAPFaultBuilder
Example: <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:m="http://www.example.org/timeouts" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <env:Body> <env:Fault> <env:Code> <env:Value>env:Sender* </env:Value> <env:Subcode> <env:Value>m:MessageTimeout* </env:Value> </env:Subcode> </env:Code> <env:Reason> <env:Text xml:lang="en">Sender Timeout* </env:Text> </env:Reason> <env:Detail> <m:MaxTime>P5M* </m:MaxTime> </env:Detail> </env:Fault> </env:Body> </env:Envelope>
CAPTURE_STACK_TRACE_PROPERTY, captureStackTrace
Constructor and Description |
---|
SOAP12Fault() |
SOAP12Fault(CodeType code,
ReasonType reason,
String node,
String role,
DetailType detail) |
SOAP12Fault(CodeType code,
ReasonType reason,
String node,
String role,
Element detailObject) |
SOAP12Fault(QName code,
String reason,
Element detailObject) |
SOAP12Fault(javax.xml.soap.SOAPFault fault) |
Modifier and Type | Method and Description |
---|---|
(package private) CodeType |
getCode() |
(package private) DetailType |
getDetail()
Gives the
DetailType for a Soap 1.1 or Soap 1.2 message that can be used to create either a checked exception or
a protocol specific exception |
(package private) String |
getFaultString()
gives the fault string that can be used to create an
Exception |
(package private) String |
getNode() |
protected Throwable |
getProtocolException() |
(package private) ReasonType |
getReason() |
(package private) String |
getRole() |
(package private) void |
setDetail(DetailType detail) |
captureStackTrace, create, createException, createSOAPFaultMessage, createSOAPFaultMessage, createSOAPFaultMessage, createSOAPFaultMessage, createSOAPFaultMessage, getFirstDetailEntryName
SOAP12Fault()
SOAP12Fault(CodeType code, ReasonType reason, String node, String role, DetailType detail)
SOAP12Fault(CodeType code, ReasonType reason, String node, String role, Element detailObject)
SOAP12Fault(javax.xml.soap.SOAPFault fault)
CodeType getCode()
ReasonType getReason()
String getNode()
String getRole()
DetailType getDetail()
SOAPFaultBuilder
DetailType
for a Soap 1.1 or Soap 1.2 message that can be used to create either a checked exception or
a protocol specific exceptiongetDetail
in class SOAPFaultBuilder
void setDetail(DetailType detail)
setDetail
in class SOAPFaultBuilder
String getFaultString()
SOAPFaultBuilder
Exception
getFaultString
in class SOAPFaultBuilder
protected Throwable getProtocolException()
getProtocolException
in class SOAPFaultBuilder
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.