com.sforce.async
Class AsyncApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sforce.async.AsyncApiException
- All Implemented Interfaces:
- XMLizable, java.io.Serializable
public class AsyncApiException
- extends java.lang.Exception
- implements XMLizable
AsyncApiException --
- Since:
- 160
- Author:
- mcheenath
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AsyncApiException
public AsyncApiException()
- Constructor
AsyncApiException
public AsyncApiException(java.lang.String message,
AsyncExceptionCode code,
java.lang.Throwable th)
AsyncApiException
public AsyncApiException(java.lang.String message,
AsyncExceptionCode code)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
getExceptionCode
public AsyncExceptionCode getExceptionCode()
setExceptionCode
public void setExceptionCode(AsyncExceptionCode exceptionCode)
getExceptionMessage
public java.lang.String getExceptionMessage()
setExceptionMessage
public void setExceptionMessage(java.lang.String exceptionMessage)
write
public void write(javax.xml.namespace.QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws java.io.IOException
- Description copied from interface:
XMLizable
- write this instace as xml.
- Specified by:
write in interface XMLizable
- Parameters:
__element - xml element name__out - xml output stream__typeMapper - type mapper to be used
- Throws:
java.io.IOException - failed to write xml
writeFields
protected void writeFields(XmlOutputStream __out,
TypeMapper __typeMapper)
throws java.io.IOException
- Throws:
java.io.IOException
load
public void load(XmlInputStream __in,
TypeMapper __typeMapper)
throws java.io.IOException,
ConnectionException
- Description copied from interface:
XMLizable
- load the fileds/children from the specified xml stream
- Specified by:
load in interface XMLizable
- Parameters:
__in - xml input stream from which the data is read__typeMapper - type mapper to be used
- Throws:
java.io.IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
loadFields
protected void loadFields(XmlInputStream __in,
TypeMapper __typeMapper)
throws java.io.IOException,
ConnectionException
- Throws:
java.io.IOException
ConnectionException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable
Copyright © 2011. All Rights Reserved.