public class

AsyncApiException

extends Exception
implements XMLizable
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.sforce.async.AsyncApiException

Class Overview

AsyncApiException --

Summary

[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
Fields
private AsyncExceptionCode exceptionCode
private boolean exceptionCode__is_set
private static final TypeInfo exceptionCode__typeInfo element : exceptionCode of type {http://www.force.com/2009/06/asyncapi/dataload}AsyncExceptionCode java type: com.sforce.soap.dataload.AsyncExceptionCode
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 java.lang.Throwable
Public Constructors
AsyncApiException()
Constructor
AsyncApiException(String message, AsyncExceptionCode code, Throwable th)
AsyncApiException(String message, AsyncExceptionCode code)
Public Methods
AsyncExceptionCode getExceptionCode()
String getExceptionMessage()
String getMessage()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setExceptionCode(AsyncExceptionCode 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 java.lang.Throwable
From class java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private AsyncExceptionCode exceptionCode

private boolean exceptionCode__is_set

private static final TypeInfo exceptionCode__typeInfo

element : exceptionCode of type {http://www.force.com/2009/06/asyncapi/dataload}AsyncExceptionCode java type: com.sforce.soap.dataload.AsyncExceptionCode

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 AsyncApiException ()

Constructor

public AsyncApiException (String message, AsyncExceptionCode code, Throwable th)

Parameters
message
code
th

public AsyncApiException (String message, AsyncExceptionCode code)

Parameters
message
code

Public Methods

public AsyncExceptionCode getExceptionCode ()

public String getExceptionMessage ()

public String getMessage ()

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 (AsyncExceptionCode 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