![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.partner.fault.ApiFault Maven / Gradle / Ivy
package com.sforce.soap.partner.fault;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ApiFault complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ApiFault">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="exceptionCode" type="{urn:fault.partner.soap.sforce.com}ExceptionCode"/>
* <element name="exceptionMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApiFault", propOrder = {
"exceptionCode",
"exceptionMessage"
})
@XmlSeeAlso({
LoginFault.class,
InvalidQueryLocatorFault.class,
InvalidNewPasswordFault.class,
InvalidIdFault.class,
UnexpectedErrorFault.class,
ApiQueryFault.class
})
public class ApiFault {
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected ExceptionCode exceptionCode;
@XmlElement(required = true)
protected String exceptionMessage;
/**
* Gets the value of the exceptionCode property.
*
* @return
* possible object is
* {@link ExceptionCode }
*
*/
public ExceptionCode getExceptionCode() {
return exceptionCode;
}
/**
* Sets the value of the exceptionCode property.
*
* @param value
* allowed object is
* {@link ExceptionCode }
*
*/
public void setExceptionCode(ExceptionCode value) {
this.exceptionCode = value;
}
/**
* Gets the value of the exceptionMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExceptionMessage() {
return exceptionMessage;
}
/**
* Sets the value of the exceptionMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExceptionMessage(String value) {
this.exceptionMessage = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy