Package 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:
IApiFault,XMLizable,Serializable
- Direct Known Subclasses:
ApiQueryFault,InvalidIdFault,InvalidNewPasswordFault,InvalidOldPasswordFault,InvalidQueryLocatorFault,LoginFault,UnexpectedErrorFault
public class ApiFault extends SoapFaultException implements 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 Summary
Constructors Constructor Description ApiFault()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionCodegetExceptionCode()element : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCodeStringgetExceptionMessage()element : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringExtendedErrorDetails[]getExtendedErrorDetails()element : extendedErrorDetails of type {urn:partner.soap.sforce.com}ExtendedErrorDetails java type: com.sforce.soap.partner.ExtendedErrorDetails[]voidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)voidsetExceptionCode(ExceptionCode exceptionCode)protected voidsetExceptionCode(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetExceptionMessage(XmlInputStream __in, TypeMapper __typeMapper)voidsetExceptionMessage(String exceptionMessage)voidsetExtendedErrorDetails(IExtendedErrorDetails[] extendedErrorDetails)protected voidsetExtendedErrorDetails(XmlInputStream __in, TypeMapper __typeMapper)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)-
Methods inherited from class com.sforce.ws.SoapFaultException
getFaultCode, setFaultCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getExceptionCode
public ExceptionCode getExceptionCode()
Description copied from interface:IApiFaultelement : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCode- Specified by:
getExceptionCodein interfaceIApiFault
-
setExceptionCode
public void setExceptionCode(ExceptionCode exceptionCode)
- Specified by:
setExceptionCodein interfaceIApiFault
-
setExceptionCode
protected void setExceptionCode(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getExceptionMessage
public String getExceptionMessage()
Description copied from interface:IApiFaultelement : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getExceptionMessagein interfaceIApiFault
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
- Specified by:
setExceptionMessagein interfaceIApiFault
-
setExceptionMessage
protected void setExceptionMessage(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getExtendedErrorDetails
public ExtendedErrorDetails[] getExtendedErrorDetails()
Description copied from interface:IApiFaultelement : extendedErrorDetails of type {urn:partner.soap.sforce.com}ExtendedErrorDetails java type: com.sforce.soap.partner.ExtendedErrorDetails[]- Specified by:
getExtendedErrorDetailsin interfaceIApiFault
-
setExtendedErrorDetails
public void setExtendedErrorDetails(IExtendedErrorDetails[] extendedErrorDetails)
- Specified by:
setExtendedErrorDetailsin interfaceIApiFault
-
setExtendedErrorDetails
protected void setExtendedErrorDetails(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
-