public enum ExceptionAction extends Enum<ExceptionAction>
Enum Constant and Description |
---|
RETRY_INVOCATION
Indicates that the operation can be retried.
|
THROW_EXCEPTION
Indicates that the exception should be bubble up.
|
Modifier and Type | Method and Description |
---|---|
static ExceptionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionAction RETRY_INVOCATION
public static final ExceptionAction THROW_EXCEPTION
public static ExceptionAction[] values()
for (ExceptionAction c : ExceptionAction.values()) System.out.println(c);
public static ExceptionAction 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 © 2016 Hazelcast, Inc.. All Rights Reserved.