Package com.sforce.async
Enum AsyncExceptionCode
- java.lang.Object
-
- java.lang.Enum<AsyncExceptionCode>
-
- com.sforce.async.AsyncExceptionCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AsyncExceptionCode>
public enum AsyncExceptionCode extends java.lang.Enum<AsyncExceptionCode>
AsyncExceptionCode --- Since:
- 160
- Author:
- mcheenath
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncExceptionCodevalueOf(java.lang.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.
-
-
-
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(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-