com.sforce.soap.partner.fault
Class ApiFault
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sforce.ws.ConnectionException
com.sforce.ws.SoapFaultException
com.sforce.soap.partner.fault.ApiFault
- All Implemented Interfaces:
- XMLizable, Serializable
- Direct Known Subclasses:
- ApiQueryFault, InvalidIdFault, InvalidNewPasswordFault, InvalidQueryLocatorFault, LoginFault, UnexpectedErrorFault
public class ApiFault
- extends SoapFaultException
- implements XMLizable
Generated class, please do not edit.
- See Also:
- Serialized Form
|
Constructor Summary |
ApiFault()
Constructor |
ApiFault
public ApiFault()
- Constructor
getExceptionCode
public ExceptionCode getExceptionCode()
setExceptionCode
public void setExceptionCode(ExceptionCode exceptionCode)
getExceptionMessage
public String getExceptionMessage()
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
write
public void write(QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws 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:
IOException - failed to write xml
writeFields
protected void writeFields(XmlOutputStream __out,
TypeMapper __typeMapper)
throws IOException
- Throws:
IOException
load
public void load(XmlInputStream __in,
TypeMapper __typeMapper)
throws 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:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
loadFields
protected void loadFields(XmlInputStream __in,
TypeMapper __typeMapper)
throws IOException,
ConnectionException
- Throws:
IOException
ConnectionException
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 2012. All Rights Reserved.