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:
IApiFault, com.sforce.ws.bind.XMLizable, Serializable
Direct Known Subclasses:
ApiQueryFault, InvalidIdFault, InvalidNewPasswordFault, InvalidOldPasswordFault, InvalidQueryLocatorFault, LoginFault, UnexpectedErrorFault

public class ApiFault extends com.sforce.ws.SoapFaultException implements com.sforce.ws.bind.XMLizable, IApiFault
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
See Also:
Serialized Form
  • Constructor Details

    • ApiFault

      public ApiFault()
      Constructor
  • Method Details

    • getExceptionCode

      public ExceptionCode getExceptionCode()
      Description copied from interface: IApiFault
      element : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCode
      Specified by:
      getExceptionCode in interface IApiFault
    • setExceptionCode

      public void setExceptionCode(ExceptionCode exceptionCode)
      Specified by:
      setExceptionCode in interface IApiFault
    • setExceptionCode

      protected void setExceptionCode(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getExceptionMessage

      public String getExceptionMessage()
      Description copied from interface: IApiFault
      element : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
      Specified by:
      getExceptionMessage in interface IApiFault
    • setExceptionMessage

      public void setExceptionMessage(String exceptionMessage)
      Specified by:
      setExceptionMessage in interface IApiFault
    • setExceptionMessage

      protected void setExceptionMessage(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • getExtendedErrorDetails

      public ExtendedErrorDetails[] getExtendedErrorDetails()
      Description copied from interface: IApiFault
      element : extendedErrorDetails of type {urn:partner.soap.sforce.com}ExtendedErrorDetails java type: com.sforce.soap.partner.ExtendedErrorDetails[]
      Specified by:
      getExtendedErrorDetails in interface IApiFault
    • setExtendedErrorDetails

      public void setExtendedErrorDetails(IExtendedErrorDetails[] extendedErrorDetails)
      Specified by:
      setExtendedErrorDetails in interface IApiFault
    • setExtendedErrorDetails

      protected void setExtendedErrorDetails(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • write

      public void write(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException
      Specified by:
      write in interface com.sforce.ws.bind.XMLizable
      Throws:
      IOException
    • writeFields

      protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException
      Throws:
      IOException
    • load

      public void load(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Specified by:
      load in interface com.sforce.ws.bind.XMLizable
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • loadFields

      protected void loadFields(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException, com.sforce.ws.ConnectionException
      Throws:
      IOException
      com.sforce.ws.ConnectionException
    • toString

      public String toString()
      Overrides:
      toString in class Throwable