com.sforce.async
Enum AsyncExceptionCode

java.lang.Object
  extended by java.lang.Enum<AsyncExceptionCode>
      extended by com.sforce.async.AsyncExceptionCode
All Implemented Interfaces:
Serializable, Comparable<AsyncExceptionCode>

public enum AsyncExceptionCode
extends Enum<AsyncExceptionCode>

AsyncExceptionCode --

Since:
160
Author:
mcheenath

Enum Constant Summary
ClientInputError
           
ExceededQuota
           
FeatureNotEnabled
           
HttpsRequired
           
InternalServerError
           
InvalidBatch
           
InvalidEntity
           
InvalidJob
           
InvalidJobState
           
InvalidOperation
           
InvalidSessionId
           
InvalidUrl
           
InvalidUser
           
InvalidVersion
           
InvalidXml
           
Timeout
           
TooManyLockFailure
           
Unknown
           
UnsupportedContentType
           
 
Method Summary
static AsyncExceptionCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AsyncExceptionCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final AsyncExceptionCode Unknown

InvalidSessionId

public static final AsyncExceptionCode InvalidSessionId

InvalidOperation

public static final AsyncExceptionCode InvalidOperation

InvalidUrl

public static final AsyncExceptionCode InvalidUrl

InvalidUser

public static final AsyncExceptionCode InvalidUser

InvalidXml

public static final AsyncExceptionCode InvalidXml

FeatureNotEnabled

public static final AsyncExceptionCode FeatureNotEnabled

ExceededQuota

public static final AsyncExceptionCode ExceededQuota

InvalidJob

public static final AsyncExceptionCode InvalidJob

InvalidJobState

public static final AsyncExceptionCode InvalidJobState

InvalidBatch

public static final AsyncExceptionCode InvalidBatch

InternalServerError

public static final AsyncExceptionCode InternalServerError

ClientInputError

public static final AsyncExceptionCode ClientInputError

Timeout

public static final AsyncExceptionCode Timeout

TooManyLockFailure

public static final AsyncExceptionCode TooManyLockFailure

InvalidVersion

public static final AsyncExceptionCode InvalidVersion

HttpsRequired

public static final AsyncExceptionCode HttpsRequired

UnsupportedContentType

public static final AsyncExceptionCode UnsupportedContentType

InvalidEntity

public static final AsyncExceptionCode InvalidEntity
Method Detail

values

public static AsyncExceptionCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AsyncExceptionCode c : AsyncExceptionCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AsyncExceptionCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.