com.sforce.soap.partner.fault
Class ApiFault

java.lang.Object
  extended by com.sforce.soap.partner.fault.ApiFault
Direct Known Subclasses:
ApiQueryFault, InvalidIdFault, InvalidNewPasswordFault, InvalidQueryLocatorFault, LoginFault, UnexpectedErrorFault

public class ApiFault
extends java.lang.Object

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>
 


Field Summary
protected  ExceptionCode exceptionCode
           
protected  java.lang.String exceptionMessage
           
 
Constructor Summary
ApiFault()
           
 
Method Summary
 ExceptionCode getExceptionCode()
          Gets the value of the exceptionCode property.
 java.lang.String getExceptionMessage()
          Gets the value of the exceptionMessage property.
 void setExceptionCode(ExceptionCode value)
          Sets the value of the exceptionCode property.
 void setExceptionMessage(java.lang.String value)
          Sets the value of the exceptionMessage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionCode

protected ExceptionCode exceptionCode

exceptionMessage

protected java.lang.String exceptionMessage
Constructor Detail

ApiFault

public ApiFault()
Method Detail

getExceptionCode

public ExceptionCode getExceptionCode()
Gets the value of the exceptionCode property.

Returns:
possible object is ExceptionCode

setExceptionCode

public void setExceptionCode(ExceptionCode value)
Sets the value of the exceptionCode property.

Parameters:
value - allowed object is ExceptionCode

getExceptionMessage

public java.lang.String getExceptionMessage()
Gets the value of the exceptionMessage property.

Returns:
possible object is String

setExceptionMessage

public void setExceptionMessage(java.lang.String value)
Sets the value of the exceptionMessage property.

Parameters:
value - allowed object is String


Copyright © 2010. All Rights Reserved.