com.sforce.soap.partner.fault
Class ApiFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sforce.ws.ConnectionException
              extended by com.sforce.ws.SoapFaultException
                  extended by 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
 
Method Summary
 ExceptionCode getExceptionCode()
           
 String getExceptionMessage()
           
 void load(XmlInputStream __in, TypeMapper __typeMapper)
          load the fileds/children from the specified xml stream
protected  void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
           
 void setExceptionCode(ExceptionCode exceptionCode)
           
 void setExceptionMessage(String exceptionMessage)
           
 String toString()
           
 void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
          write this instace as xml.
protected  void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
           
 
Methods inherited from class com.sforce.ws.SoapFaultException
getFaultCode, setFaultCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiFault

public ApiFault()
Constructor

Method Detail

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.