Class SOAPFault
- java.lang.Object
-
- com.sun.identity.liberty.ws.soapbinding.SOAPFault
-
@SupportedAll public class SOAPFault extends Object
TheSOAPFault
class represents a SOAP Fault element.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPFaultDetail
getDetail()
Returns a SOAP Fault Detail.String
getFaultActor()
Returns value offaultactor
element.QName
getFaultCode()
Returns value offaultcode
element.String
getFaultString()
Returns value offaultstring
element.void
setDetail(SOAPFaultDetail detail)
Sets a SOAP Fault Detail.void
setFaultActor(String faultactor)
Sets value offaultactor
element.void
setFaultCode(QName faultcode)
Sets value offaultcode
element.void
setFaultString(String faultstring)
Sets value offaultstring
element.
-
-
-
Constructor Detail
-
SOAPFault
public SOAPFault(QName faultcode, String faultstring)
Constructor.- Parameters:
faultcode
- value offaultcode
elementfaultstring
- value offaultstring
element
-
SOAPFault
public SOAPFault(QName faultcode, String faultstring, String faultactor, SOAPFaultDetail detail)
Constructor.- Parameters:
faultcode
- value offaultcode
element.faultstring
- value offaultstring
element.faultactor
- value offaultactor
element.detail
- a SOAP Fault Detail.
-
-
Method Detail
-
getFaultCode
public QName getFaultCode()
Returns value offaultcode
element.- Returns:
- value of
faultcode
element.
-
getFaultString
public String getFaultString()
Returns value offaultstring
element.- Returns:
- value of
faultstring
element.
-
getFaultActor
public String getFaultActor()
Returns value offaultactor
element.- Returns:
- value of
faultactor
element.
-
getDetail
public SOAPFaultDetail getDetail()
Returns a SOAP Fault Detail.- Returns:
- a SOAP Fault Detail.
-
setFaultCode
public void setFaultCode(QName faultcode)
Sets value offaultcode
element.- Parameters:
faultcode
- value offaultcode
element
-
setFaultString
public void setFaultString(String faultstring)
Sets value offaultstring
element.- Parameters:
faultstring
- value offaultstring
element.
-
setFaultActor
public void setFaultActor(String faultactor)
Sets value offaultactor
element.- Parameters:
faultactor
- value offaultactor
element.
-
setDetail
public void setDetail(SOAPFaultDetail detail)
Sets a SOAP Fault Detail.- Parameters:
detail
- a SOAP Fault Detail.
-
-