public class

Error

extends Object
implements XMLizable
java.lang.Object
   ↳ com.sforce.async.Error

Class Overview

Error --

Summary

Fields
private String[] fields
private boolean fields__is_set
private static final TypeInfo fields__typeInfo element : fields of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
private String message
private boolean message__is_set
private static final TypeInfo message__typeInfo element : message of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private StatusCode statusCode
private boolean statusCode__is_set
private static final TypeInfo statusCode__typeInfo element : statusCode of type {urn:partner.soap.sforce.com}StatusCode java type: com.sforce.soap.partner.wsc.StatusCode
Public Constructors
Error()
Constructor
Public Methods
String[] getFields()
String getMessage()
StatusCode getStatusCode()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setFields(String[] fields)
void setMessage(String message)
void setStatusCode(StatusCode statusCode)
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 java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private String[] fields

private boolean fields__is_set

private static final TypeInfo fields__typeInfo

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

private String message

private boolean message__is_set

private static final TypeInfo message__typeInfo

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

private StatusCode statusCode

private boolean statusCode__is_set

private static final TypeInfo statusCode__typeInfo

element : statusCode of type {urn:partner.soap.sforce.com}StatusCode java type: com.sforce.soap.partner.wsc.StatusCode

Public Constructors

public Error ()

Constructor

Public Methods

public String[] getFields ()

public String getMessage ()

public StatusCode getStatusCode ()

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 setFields (String[] fields)

Parameters
fields

public void setMessage (String message)

Parameters
message

public void setStatusCode (StatusCode statusCode)

Parameters
statusCode

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