com.sforce.async
Enum AsyncExceptionCode
java.lang.Object
java.lang.Enum<AsyncExceptionCode>
com.sforce.async.AsyncExceptionCode
- All Implemented Interfaces:
- Serializable, Comparable<AsyncExceptionCode>
public enum AsyncExceptionCode
- extends Enum<AsyncExceptionCode>
AsyncExceptionCode --
- Since:
- 160
- Author:
- mcheenath
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
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.