Class Fault

java.lang.Object
org.xmlsoap.schemas.soap.envelope.Fault

public class Fault extends Object
Fault reporting structure

Java class for Fault complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Fault">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="faultcode" type="{http://www.w3.org/2001/XMLSchema}QName"/>
         <element name="faultstring" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="faultactor" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="detail" type="{http://schemas.xmlsoap.org/soap/envelope/}detail" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • faultcode

      protected QName faultcode
    • faultstring

      protected String faultstring
    • faultactor

      protected String faultactor
    • detail

      protected Detail detail
  • Constructor Details

    • Fault

      public Fault()
  • Method Details

    • getFaultcode

      public QName getFaultcode()
      Gets the value of the faultcode property.
      Returns:
      possible object is QName
    • setFaultcode

      public void setFaultcode(QName value)
      Sets the value of the faultcode property.
      Parameters:
      value - allowed object is QName
    • getFaultstring

      public String getFaultstring()
      Gets the value of the faultstring property.
      Returns:
      possible object is String
    • setFaultstring

      public void setFaultstring(String value)
      Sets the value of the faultstring property.
      Parameters:
      value - allowed object is String
    • getFaultactor

      public String getFaultactor()
      Gets the value of the faultactor property.
      Returns:
      possible object is String
    • setFaultactor

      public void setFaultactor(String value)
      Sets the value of the faultactor property.
      Parameters:
      value - allowed object is String
    • getDetail

      public Detail getDetail()
      Gets the value of the detail property.
      Returns:
      possible object is Detail
    • setDetail

      public void setDetail(Detail value)
      Sets the value of the detail property.
      Parameters:
      value - allowed object is Detail
    • withFaultcode

      public Fault withFaultcode(QName value)
    • withFaultstring

      public Fault withFaultstring(String value)
    • withFaultactor

      public Fault withFaultactor(String value)
    • withDetail

      public Fault withDetail(Detail value)