public class

ApiFault

extends Dynamic
implements Serializable
java.lang.Object
   ↳ com.zuora.api.object.Dynamic
     ↳ com.zuora.api.fault.ApiFault
Known Direct Subclasses

Class Overview

Java class for ApiFault complex type.

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

 <complexType name="ApiFault">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="FaultCode" type="{http://api.zuora.com/}ErrorCode" minOccurs="0"/>
         <element name="FaultMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected ErrorCode faultCode
protected String faultMessage
Public Constructors
ApiFault()
Public Methods
ErrorCode getFaultCode()
Gets the value of the faultCode property.
String getFaultMessage()
Gets the value of the faultMessage property.
void setFaultCode(ErrorCode value)
Sets the value of the faultCode property.
void setFaultMessage(String value)
Sets the value of the faultMessage property.
[Expand]
Inherited Methods
From class com.zuora.api.object.Dynamic
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 100 (0x0000000000000064)

Fields

protected ErrorCode faultCode

protected String faultMessage

Public Constructors

public ApiFault ()

Public Methods

public ErrorCode getFaultCode ()

Gets the value of the faultCode property.

Returns

public String getFaultMessage ()

Gets the value of the faultMessage property.

Returns
  • possible object is String

public void setFaultCode (ErrorCode value)

Sets the value of the faultCode property.

Parameters
value Allowed object is ErrorCode

public void setFaultMessage (String value)

Sets the value of the faultMessage property.

Parameters
value Allowed object is String