All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.ApiFault Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling;

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:tooling.soap.sforce.com}ExceptionCode"/>
 *         <element name="exceptionMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="upgradeURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="upgradeMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ApiFault", propOrder = { "exceptionCode", "exceptionMessage", "upgradeURL", "upgradeMessage" }) @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; protected String exceptionMessage; protected String upgradeURL; protected String upgradeMessage; /** * 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; } /** * Gets the value of the upgradeURL property. * * @return * possible object is * {@link String } * */ public String getUpgradeURL() { return upgradeURL; } /** * Sets the value of the upgradeURL property. * * @param value * allowed object is * {@link String } * */ public void setUpgradeURL(String value) { this.upgradeURL = value; } /** * Gets the value of the upgradeMessage property. * * @return * possible object is * {@link String } * */ public String getUpgradeMessage() { return upgradeMessage; } /** * Sets the value of the upgradeMessage property. * * @param value * allowed object is * {@link String } * */ public void setUpgradeMessage(String value) { this.upgradeMessage = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy