Class Error

java.lang.Object
com.sforce.soap.partner.Error
All Implemented Interfaces:
IError, com.sforce.ws.bind.XMLizable
Direct Known Subclasses:
DuplicateError

public class Error extends Object implements com.sforce.ws.bind.XMLizable, IError
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    element : extendedErrorDetails of type {urn:partner.soap.sforce.com}ExtendedErrorDetails java type: com.sforce.soap.partner.ExtendedErrorDetails[]
    element : fields of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
    element : message of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
    element : statusCode of type {urn:partner.soap.sforce.com}StatusCode java type: com.sforce.soap.partner.StatusCode
    void
    load​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    loadFields​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
     
    protected void
    setExtendedErrorDetails​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    setFields​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setFields​(String[] fields)
     
    protected void
    setMessage​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    void
    setMessage​(String message)
     
    void
    setStatusCode​(StatusCode statusCode)
     
    protected void
    setStatusCode​(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     
     
    void
    write​(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
     
    protected void
    writeFields​(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Error

      public Error()
      Constructor
  • Method Details

    • getExtendedErrorDetails

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

      public void setExtendedErrorDetails(IExtendedErrorDetails[] extendedErrorDetails)
      Specified by:
      setExtendedErrorDetails in interface IError
    • 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
    • getFields

      public String[] getFields()
      Description copied from interface: IError
      element : fields of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String[]
      Specified by:
      getFields in interface IError
    • setFields

      public void setFields(String[] fields)
      Specified by:
      setFields in interface IError
    • setFields

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

      public String getMessage()
      Description copied from interface: IError
      element : message of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
      Specified by:
      getMessage in interface IError
    • setMessage

      public void setMessage(String message)
      Specified by:
      setMessage in interface IError
    • setMessage

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

      public StatusCode getStatusCode()
      Description copied from interface: IError
      element : statusCode of type {urn:partner.soap.sforce.com}StatusCode java type: com.sforce.soap.partner.StatusCode
      Specified by:
      getStatusCode in interface IError
    • setStatusCode

      public void setStatusCode(StatusCode statusCode)
      Specified by:
      setStatusCode in interface IError
    • setStatusCode

      protected void setStatusCode(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 Object