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
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionelement : exceptionCode of type {urn:fault.partner.soap.sforce.com}ExceptionCode java type: com.sforce.soap.partner.fault.ExceptionCodeelement : exceptionMessage of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.Stringelement : 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) toString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper) Methods inherited from class com.sforce.ws.SoapFaultException
getFaultCode, setFaultCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ApiFault
public ApiFault()Constructor
-
-
Method Details
-
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
- Specified by:
setExceptionCodein interfaceIApiFault
-
setExceptionCode
protected void setExceptionCode(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- Specified by:
setExceptionMessagein interfaceIApiFault
-
setExceptionMessage
protected void setExceptionMessage(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
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
- 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
- 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
-
toString
-