public enum DispatchErrorType extends Enum<DispatchErrorType>
Enum Constant and Description |
---|
AUTHENTICATION
Indicates that the failure was due to missing or incorrect authentication
credentials and that retrying the activity invocation without modifying
the credential set is pointless.
|
DATA
Indicates that the failure to invoke the activity was due to invalid
input data, in this case there is no point in trying to invoke the
activity again with the same data as it will always fail.
|
INVOCATION
Indicates that the failure was related to the invocation of the resource
rather than the input data, and that an identical invocation at a later
time may succeed.
|
Modifier and Type | Method and Description |
---|---|
static DispatchErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchErrorType DATA
public static final DispatchErrorType INVOCATION
public static final DispatchErrorType AUTHENTICATION
public static DispatchErrorType[] values()
for (DispatchErrorType c : DispatchErrorType.values()) System.out.println(c);
public static DispatchErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.