Class SOAPFault

java.lang.Object
com.sun.identity.liberty.ws.soapbinding.SOAPFault

@SupportedAll public class SOAPFault extends Object
The SOAPFault class represents a SOAP Fault element.
  • Constructor Details

    • SOAPFault

      public SOAPFault(QName faultcode, String faultstring)
      Constructor.
      Parameters:
      faultcode - value of faultcode element
      faultstring - value of faultstring element
    • SOAPFault

      public SOAPFault(QName faultcode, String faultstring, String faultactor, SOAPFaultDetail detail)
      Constructor.
      Parameters:
      faultcode - value of faultcode element.
      faultstring - value of faultstring element.
      faultactor - value of faultactor element.
      detail - a SOAP Fault Detail.
  • Method Details

    • getFaultCode

      public QName getFaultCode()
      Returns value of faultcode element.
      Returns:
      value of faultcode element.
    • getFaultString

      public String getFaultString()
      Returns value of faultstring element.
      Returns:
      value of faultstring element.
    • getFaultActor

      public String getFaultActor()
      Returns value of faultactor 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 of faultcode element.
      Parameters:
      faultcode - value of faultcode element
    • setFaultString

      public void setFaultString(String faultstring)
      Sets value of faultstring element.
      Parameters:
      faultstring - value of faultstring element.
    • setFaultActor

      public void setFaultActor(String faultactor)
      Sets value of faultactor element.
      Parameters:
      faultactor - value of faultactor element.
    • setDetail

      public void setDetail(SOAPFaultDetail detail)
      Sets a SOAP Fault Detail.
      Parameters:
      detail - a SOAP Fault Detail.