public class

ApiFault

extends SoapFaultException
implements XMLizable
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.sforce.ws.ConnectionException
         ↳ com.sforce.ws.SoapFaultException
           ↳ com.sforce.soap.partner.fault.ApiFault
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Generated class, please do not edit.

Summary

[Expand]
Inherited Constants
From class com.sforce.ws.SoapFaultException
From class com.sforce.ws.ConnectionException
From class java.lang.Exception
From class java.lang.Throwable
Fields
private ExceptionCode exceptionCode
private boolean exceptionCode__is_set
private static final TypeInfo exceptionCode__typeInfo element : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCode
private String exceptionMessage
private boolean exceptionMessage__is_set
private static final TypeInfo exceptionMessage__typeInfo element : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
[Expand]
Inherited Fields
From class com.sforce.ws.SoapFaultException
From class java.lang.Throwable
Public Constructors
ApiFault()
Constructor
Public Methods
ExceptionCode getExceptionCode()
String getExceptionMessage()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setExceptionCode(ExceptionCode exceptionCode)
void setExceptionMessage(String exceptionMessage)
String toString()
void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
write this instace as xml.
Protected Methods
void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
[Expand]
Inherited Methods
From class com.sforce.ws.SoapFaultException
From class java.lang.Throwable
From class java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private ExceptionCode exceptionCode

private boolean exceptionCode__is_set

private static final TypeInfo exceptionCode__typeInfo

element : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCode

private String exceptionMessage

private boolean exceptionMessage__is_set

private static final TypeInfo exceptionMessage__typeInfo

element : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

Public Constructors

public ApiFault ()

Constructor

Public Methods

public ExceptionCode getExceptionCode ()

public String getExceptionMessage ()

public void load (XmlInputStream __in, TypeMapper __typeMapper)

load the fileds/children from the specified xml stream

Parameters
__in Xml input stream from which the data is read
__typeMapper Type mapper to be used
Throws
ConnectionException
IOException

public void setExceptionCode (ExceptionCode exceptionCode)

Parameters
exceptionCode

public void setExceptionMessage (String exceptionMessage)

Parameters
exceptionMessage

public String toString ()

public void write (QName __element, XmlOutputStream __out, TypeMapper __typeMapper)

write this instace as xml.

Parameters
__element Xml element name
__out Xml output stream
__typeMapper Type mapper to be used
Throws
IOException

Protected Methods

protected void loadFields (XmlInputStream __in, TypeMapper __typeMapper)

Parameters
__in
__typeMapper
Throws
ConnectionException
IOException

protected void writeFields (XmlOutputStream __out, TypeMapper __typeMapper)

Parameters
__out
__typeMapper
Throws
IOException