public class SoapFault11 extends SoapFault
action, detail, headerFault, node, reason, role, soapFaultType, subcode, subSubcode
Constructor and Description |
---|
SoapFault11()
Default constructor.
|
SoapFault11(SoapFaultType soapFaultType,
QName subcode,
String reason)
Create a custom SOAP fault.
|
SoapFault11(SoapFaultType soapFaultType,
QName subcode,
String reason,
Element detailElement)
Create a custom SOAP fault.
|
SoapFault11(SoapFaultType soapFaultType,
QName subcode,
String reason,
Element[] headerElements)
Create a custom SOAP fault.
|
SoapFault11(SoapFaultType soapFaultType,
QName subcode,
String reason,
Element detailElement,
Element[] headerElements)
Create a custom SOAP fault.
|
SoapFault11(SoapFaultType soapFaultType,
String reason)
Create a custom SOAP fault.
|
SoapFault11(SoapFaultType soapFaultType,
String reason,
Element detailElement)
Create a custom SOAP fault.
|
SoapFault11(Throwable th)
Construct a SOAP fault based on a throwable.
|
SoapFault11(Throwable th,
Element[] headerElements)
Construct a SOAP header fault based on a throwable.
|
Modifier and Type | Method and Description |
---|---|
static SoapFault11 |
create(SOAPFaultException sfe) |
static SoapFault11 |
fromFault(Fault fault) |
Element |
getDetailElement()
Get the SOAP fault detailElement.
|
Element[] |
getHeaderElements()
Get the SOAP fault header elements.
|
void |
setDetailElement(Element detailElement)
Set the SOAP fault detailElement.
|
void |
setHeaderElements(Element[] headerElements)
Set the SOAP fault header elements.
|
Fault |
toFault() |
generateStackTrace, getAction, getDetail, getMessage, getNode, getReason, getRole, getSoapFaultType, getSubcode, getSubSubcode, isHeaderFault, setAction, setDetail, setHeaderFault, setNode, setReason, setRole, setSoapFaultType, setSubcode, setSubSubcode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SoapFault11()
public SoapFault11(Throwable th)
th
- The throwable.public SoapFault11(Throwable th, Element[] headerElements)
th
- The throwable.headerElements
- The header elements.public SoapFault11(SoapFaultType soapFaultType, QName subcode, String reason)
soapFaultType
- the soap fault type.subcode
- The fault subcode.reason
- The fault reason.public SoapFault11(SoapFaultType soapFaultType, QName subcode, String reason, Element[] headerElements)
soapFaultType
- the soap fault type.subcode
- The fault subcode.reason
- The fault reason.headerElements
- The header elements.public SoapFault11(SoapFaultType soapFaultType, QName subcode, String reason, Element detailElement)
soapFaultType
- the soap fault type.subcode
- The fault subcode.reason
- The fault reason.detailElement
- The fault detailElement.public SoapFault11(SoapFaultType soapFaultType, String reason)
soapFaultType
- the soap fault type.reason
- The fault reason.public SoapFault11(SoapFaultType soapFaultType, String reason, Element detailElement)
soapFaultType
- the soap fault type.reason
- The fault reason.detailElement
- The fault detailElement.public SoapFault11(SoapFaultType soapFaultType, QName subcode, String reason, Element detailElement, Element[] headerElements)
soapFaultType
- the soap fault type.subcode
- The fault subcode.reason
- The fault reason.detailElement
- The fault detailElement.headerElements
- The fault header elements.public Fault toFault()
public static SoapFault11 fromFault(Fault fault)
public static SoapFault11 create(SOAPFaultException sfe)
public Element getDetailElement()
public void setDetailElement(Element detailElement)
detailElement
- The SOAP fault detailElement.public Element[] getHeaderElements()
public void setHeaderElements(Element[] headerElements)
headerElements
- The SOAP fault header elements.Copyright © 2017 JBoss by Red Hat. All rights reserved.